Wednesday 15 February 2012

Jquery function messes up my other code -


The problem is resolved.

When I put the code in my system below, then all my jquery work Click on

  $ ("# avbokad_kund_circle") (function ()).  

{Var Visa = ''; Visa + = 'Clar_Cum_Calic =' + $ (this) .attr ('value') + '& amp; + 'Mass_id =' + '& lt; Php echo $ _GET ['mass_id'] ;; & Gt; '; $ .post ('sok_kund_db.php', visa, function (data) {$ ("# result"). Html (data);}); Returned;});

I did not know where I went wrong.

Put double quotation around Php word: A quote around mass_id with a string created by you Are interfering

  "php echo $ _GET ['mass_id'] ;? & gt;"   

Alternatively you can:

  '& lt ;? Php echo $ _GET ["mass_id"]; ? & Gt; '   

No comments:

Post a Comment