Original Poster Posted April 18, 2013 Share Posted April 18, 2013 [object HTMLInputElement] this is what i get as the input when i do this <td> <input type='checkbox' name='delete[]' id='". $id ."' value='". $id ."' onclick='deleteBox(". $id .")' /></td> why ??? :( I got it partially working in my ajax i put a .value after the variable BUT i am only getting the first character of the 9 character ID....?? help? Link to comment Share on other sites More sharing options...
0 Original Poster Posted April 18, 2013 Author Share Posted April 18, 2013 fixed it my self... >_> Link to comment Share on other sites More sharing options...
0 Seahorsepip Veteran Posted April 18, 2013 Veteran Share Posted April 18, 2013 I guess you forgot script tags around variables :p or did a js echo with this as plain text xD Link to comment Share on other sites More sharing options...
Question
Original Poster
[object HTMLInputElement]
this is what i get as the input when i do this
<td> <input type='checkbox' name='delete[]' id='". $id ."' value='". $id ."' onclick='deleteBox(". $id .")' /></td>
why ??? :(
I got it partially working
in my ajax i put a .value after the variable BUT i am only getting the first character of the 9 character ID....?? help?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts