That simply creates an <option> DOM object...  there's absolutely no
jQuery in that line at all

http://www.google.com/search?q=javascript+create+option+object


On Jun 28, 8:16 pm, expresso <dschin...@gmail.com> wrote:
> Check out this example:
>
> http://geekswithblogs.net/michelotti/archive/2008/06/28/mvc-json---js...
>
> I'm wondering about this line:
>
> var option = new Option(optionData.Text, optionData.Value);
>
> so you can create objects like this in jQuery?  where would this
> object and its params be defined in this example?  is it something
> this dude probably came up with elsewhere and is now creating an
> instance of option?

Reply via email to