Ajax works in ie but not in others

i am trying this
<form action=xyz.php method=‘post’>
<div onclick=“do_ajax(1,div1,2’)” style=“cursor:pointer;float:left;”>Get Fields</div>

<div id=‘div1’> </div>

//ajax calls ajaxpage.php

in ajaxpage.php i have

<input type=“hidden” name=“sth1” value=“<?php echo $id; ?>”/>

that hidden filed will be filled with in that div1…

now it works when button is clicked the input field is displayed inside that page(initial form page)
but in process page if i do

it says sth1 is not defined…

it works in IE but not in Firefox and others…

thanks for help

no edit delete button…here

i got it working thanks