I think you want attr("value") for the value in the dom, vs ,val() for the
current contents.

defaultValue is a shortcut to get to the defined value from the html.... I
haven't used it but I have seen similar things with form items.

On 4/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


While i can acces a default value of an input field by:
field.defaultValue

i can't access it by $(field).attr('defaultValue')
All other attributes i can acces via the .attr() method but not this
one.
Can it be added?




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to