Forum Moderators: open
var map_cords = +44° 35' 19.82", -123° 15' 23.07" (44.588840, -123.256409;
---------------------
How would I put this in a onClick event like?
onClick="function('test',$map_cords);"
---------------
Because I have "'s 's and ,'s it totally messes the whole thing up? any ideas, I assume I have to escape but I'm totally confused!
something like this should work (adding a closing paren i assume you missed):
var map_cords = '+44° 35\' 19.82\", -123° 15\' 23.07\" (44.588840, -123.256409)';