Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 文本输入在Chrome中不起作用_Html_Wordpress_Google Chrome_Input_Contact - Fatal编程技术网

Html 文本输入在Chrome中不起作用

Html 文本输入在Chrome中不起作用,html,wordpress,google-chrome,input,contact,Html,Wordpress,Google Chrome,Input,Contact,我的网站有问题,我不明白为什么它不工作 我有两个不同的域名,它们都有相同的WordPress主题和名称。有趣的是,当我在Chrome浏览器上加载页面时,lt版本的联系人表单输入不起作用,但在.ru版本中,联系人表单的所有功能都很好,我可以在输入中键入文本。当我尝试在Firefox中加载.lt页面时,联系人表单在那里工作正常 这是我的表格代码: <form method="post" id="kontaktu_forma" onsubmit="send_email('<?=$lang;

我的网站有问题,我不明白为什么它不工作

我有两个不同的域名,它们都有相同的WordPress主题和名称。有趣的是,当我在Chrome浏览器上加载页面时,lt版本的联系人表单输入不起作用,但在.ru版本中,联系人表单的所有功能都很好,我可以在输入中键入文本。当我尝试在Firefox中加载.lt页面时,联系人表单在那里工作正常

这是我的表格代码:

<form method="post" id="kontaktu_forma" onsubmit="send_email('<?=$lang;?>'); return false;">
        <label><?=$vardas_pavarde;?>: </label>
        <input class="input" type="text"  name="vardas" />

        <label><?=$imones_pavadinimas;?>: </label>
        <input class="input" type="text"  name="imone" />

        <label><?=$adresas_aa;?>: </label>
        <input class="input" type="text"  name="adresas" />

        <label><?=$telefono_nr;?>: </label>
        <input class="input" type="text" name="phone" />


        <label><?=$el_pastas;?>: </label>
        <input class="input" type="text"  name="email" />


        <label><?=$dominancios_paslaugos;?>:</label>
        <textarea class="input" rows="5" name="klausimas"></textarea>    

        <input type="button" class="button" value="<?=$siusti;?>" onclick="send_email('<?=$lang;?>'); return false;" style="margin-left: 15px;" />
    </form>
如果有人能帮我解决这个问题,那就太好了


谢谢

不仅您的输入选择被禁用,而且您不能从该网站选择任何文本

由于您正在禁用js中的文本选择,我在您的网站中找到了下面的代码,如果您删除此代码,它将修复您的问题

jQuery(function($) {
   $('body').disableTextSelect();
});

只需删除或注释掉上述代码。

您必须更改此代码

jQuery(function($) {        

    $('body').disableTextSelect();

 });


非常感谢你!这对我有用。现在文本输入正在工作,我可以填写表格了。
jQuery(function($) {          

            $('#main').disableTextSelect();

    });