having trouble with firefox and .html()
I have an issue with Firefox where I use JavaScript to set a value and then get the HTML of the body using .html() and what is returned does not show the changed value.
HTML:
<td>Code Status<input name='w411iv1' id='w411iv1' value= type='text'></td>
JavaScript and JQuery as written in code:
document.getElementById('w411iv1').value = "blah";
var htmlBody = jQuery('html').html();
When I debug (using firebug) the htmlBody var it does not show "Blah" for that HTML element. Whats really weird is that when the browser loads the blah value is there. Really stumped!!