Perhaps a patch for val()? Test if the value being passed is a string and
equal to null, set to to ''?

Rick

On Tue, Jun 16, 2009 at 8:20 PM, samer <samerzia...@gmail.com> wrote:

>
> You can try passing an empty string $('#Test').val('');
> I don't know whyt it's behaving that way though
>
> On Jun 16, 8:01 pm, vdhant <vdh....@gmail.com> wrote:
> > Hi guys
> > I have the following case:
> >
> > <input type="text" id="Test" />
> > <script>
> > $('#Test').val(null);
> > </script>
> >
> > See working example here:http://jquery.nodnod.net/cases/421
> >
> > In IE (i have tested in IE7), it puts the words null into the textbox
> > in all other browsers it puts nothing into the textbox. Why is this???
> >
> > Cheers
> > Anthony
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to