What is the jQuery for setting inner value using the outer attribute? -
What is the jQuery for setting inner value using the outer attribute? -
i need alter value "local" "remote" in html snippet below. can please advise how done?
<td headers="comment"> <input type="text" name="f12" size="60" maxlength="2000" value="archived" id="f12_0001"> <input type="hidden" name="f01" value="<input type="hidden" name="f13" value="local" />" class="rowhandle" id="f01_0001"> </td> thanks in advance
correct html following
<td headers="comment"> <input type="text" name="f12" size="60" maxlength="2000" value="archived" id="f12_0001"/> <input type="text" name="f01" value="local" class="rowhandle" id="f01_0001"/> </td> and can alter value of input jquery using .val because .val used input tag
$(function() { $('#f01_0001' ).val('remote'); }); http://jsfiddle.net/zw2e2/
jquery
Comments
Post a Comment