Hi Guys, I am having a HUGE problem I am using Javascript to submit forms on a PHP page.
Form Code
However when I run this code and i have 3 forms on the same page, it deletes the first form not the one that i want to delete.Code:<form style="margin: 0px; padding: 0px;"><?php echo $msg_from_image;?><input id="pokeid" value="<?php echo $pokeid;?>" name="pokeid" size="10" Type="hidden"> <input id="from" value="<?php echo $to_id;?>" name="from" size="10" Type="hidden"> <input id="to" value="<?php echo $from;?>" name="to" size="10" Type="hidden"> <input id="delete" value="1" name="delete" size="10" Type="hidden"> <input class="button" onClick="DeleteFunction();" value="Delete" type="button" ></form>
If anyone can help that would be nice.
Thanks
Russell Harrower



Reply With Quote

Bookmarks