javascript - variable declaration causing page not to load? -


i've got following variable declaration..

var html = "<b>" + name + "</b> <br/>" + message + ' <div align="left"> '  + '<a href="path/to/php?      id='+name'&message='+message+'&id='+id+'&lat='+lat+'&lng='+lng+'&type='+type+'"      target="_blank">click me!</a>' + ' </div> <form name="myform" action="delete.php" method="post"> <div align="right"> '  + '<br/> <input type="radio" name="id" value= '+id+' > delete entry<br/> <input type="submit" /> </div> </form>'; 

inside function function createmarker(point, name, message, type, file, id, lat, lng)

i can't seem spot why variable declaration appears crashing page. have idea what's wrong declaration?

thanks.

there's "+" missing behind name.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -