I am trying to use the "form: is" selector which works on chrome but not IE
Does anybody have any idea why he is not working on IE?
Edit:
Here's the code:
JS:
$ (document) .ready (function () {$ (". Comment-link") Live ('click', function () {return false;}); $ ("# morefeeds-link") Click (function () {return false;}); / / Form deposit - $ does not work ("form: is (.commentBtn)") Live ('submit', function () {warning ("a"); return false;}); return back;});
HTML
& lt; Forms & gt; & Lt; A href = "#" class = "comment-link" style = "font-size: 12px;" & Gt; Comment & lt; / A & gt; & Lt; Table range = "0" cell padding = "0" cell area = "0" & gt; & Lt; TR & gt; & Lt; Td valign = "middle" & gt; & Lt; Input type = "hidden" name = "comment word" value = "1" & gt; & Lt; Input type = "text" name = "commenttext" class = "commentfocus" value = "express your opinion" & gt; & Lt; / TD & gt; & Lt; Td valign = "middle" & gt; Input & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Form & gt;
Live submit has been broken into IEEE if you register a live click event first To fix this problem, refer to a bug report and a hack.
There is also discussion in this jquery forum:
Comments
Post a Comment