post - jQuery Click Doesn't Work in FF -
I have the following code that does not work in Firefox. No error message works with Chrome and IE also does not remove test warning in FF
Any suggestions? I have tried to put JS at the top of the page, but that too does not work.
& lt; P class = "hed" id = "postcomment" & gt; Save Comments & lt; / P & gt; & Lt; Script src = "// ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> & Lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ("p # postcomment"). Click (function () {alert ("test"); $ .post ("putcomment.asp", {zR: "data1" , ZF: "data2", zN: "", zF1: "data3", zF2: "provider_sortname = all", zF3: "phenomm = 2014-02-01", zF4: "", zC1: $ ('# Comment1 ') .val (), zC2: $ (' # comment2 '). Val (), zC3: $ (' # comment3 '). Val (), zC4: $ (' # comment4 '). Val ()} , Function (data) {warning ("data loaded:" + data);});});}); & Lt; / Script & gt;
There's more going on, this is your HTML and your junkie works in JSField Also, the error in Firefox is outside of the code pasted in your question
& lt; P class = "hed" id = "postcomment" & gt; Save Comments & lt; / P & gt;
Comments
Post a Comment