[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
 pm, naz s.na...@gmail.com wrote: i m using internet explorar.and data value is SE,DLD etc i m getting these values from db. On Jul 16, 11:14 am, Jules jwira...@gmail.com wrote: The code looks fine to me.  Could you post the data value?  What is the browser you are using? On Jul

[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
again your current jQuery code including the separator you are using, as well as what is inside the data variable in full. That way, we can understand exactly what's going on; right now, I'm still confused. Teddy On Sat, Jul 18, 2009 at 12:07 AM, naz s.na...@gmail.com wrote: i have changed

[jQuery] Re: Value adding to drop down

2009-07-17 Thread naz
i m using internet explorar.and data value is SE,DLD etc i m getting these values from db. On Jul 16, 11:14 am, Jules jwira...@gmail.com wrote: The code looks fine to me.  Could you post the data value?  What is the browser you are using? On Jul 16, 2:58 pm, naz s.na...@gmail.com wrote

[jQuery] Re: Value adding to drop down

2009-07-17 Thread naz
i have changed '|' seperator still it is not working.:( On Jul 16, 10:31 am, 刘永杰 liuyongjie...@gmail.com wrote: change split character,not use '|'. 2009/7/16 naz s.na...@gmail.com hi i m adding some values to drop down by usind j query by this code var programs=[];  programs

[jQuery] Value adding to drop down

2009-07-15 Thread naz
hi i m adding some values to drop down by usind j query by this code var programs=[]; programs=data.split('|'); $('#p_course').length = 1; for(var i=0;iprograms.length-1;i++) { var objDropdown =$('#p_course').get(0); var objOption = new Option(programs[i],programs[i]);

[jQuery] Re: getting the value of list box in jquery

2009-07-03 Thread naz
if there are selected items. The gurus here will tell you my approach is probably overly long, but it's worked for me.  Your mileage may vary.  Tweak it as needed. Shawn naz wrote: i m w8ing for your reply On Jul 1, 9:32 am, MorningZ morni...@gmail.com wrote: Got some HTML to show of the select box

[jQuery] Re: getting the value of list box in jquery

2009-07-01 Thread naz
i m w8ing for your reply On Jul 1, 10:30 am, naz s.na...@gmail.com wrote: i have HTMl code like this select name=itemsToAdd id=right size=8 multiple=multiple            /select and i m getting its values from database but when i write $('#right').val(); it give sme null :( On Jul 1, 9

[jQuery] Re: getting the value of list box in jquery

2009-07-01 Thread naz
/option /select then $(#right).val()  will be an array that is 2,3 if it's not like that, then (1) your selector doesn't work, (2) there's nothing actually selected On Jul 1, 12:18 am, naz s.na...@gmail.com wrote: yes i have multiple value in that list box and i want to have all

[jQuery] getting the value of list box in jquery

2009-06-30 Thread naz
i have a list box and i want to get its values in jquery please tel me how can i do that i m writing $('#right').val(); but this is giving me null plpease tell me how can i do that i need help as soon as possible thx to all persons which reply to my questions

[jQuery] Re: getting the value of list box in jquery

2009-06-30 Thread naz
tel me what to do On Jun 30, 3:12 pm, Charlie charlie...@gmail.com wrote: do the options in select each have a value assigned? are you working with a number value and need to parsInt()? Need more info to help can you put an example of this not working in jsbin? or post link naz wrote:i have

[jQuery] Re: getting the value of list box in jquery

2009-06-30 Thread naz
work, (2) there's nothing actually selected On Jul 1, 12:18 am, naz s.na...@gmail.com wrote: yes i have multiple value in that list box and i want to have all values in the form of comma seperated list. you are telling me to write some thing like this?var cources_matrix=$ ('#right

[jQuery] calling ajax function from php file

2009-06-23 Thread naz
i m using jquery 1.3.2 .and i want to call a function define in ajax file.form php file please tell me how can i do that . thnx in anticipation i need reply as soon as possible

[jQuery] Using 2 drop down list in a form

2009-06-21 Thread naz
i m using 2 drop down list in a form , which are taking their values from data base and i have define a onchange event in one drop down in this onchange event i m autofiilling the form.my problem is that when i select the one value from the second drop down the selected value become to appear

[jQuery] Re: claering feilds in div

2009-06-19 Thread naz
i have try this code but it also clear my buttons name .i just want to reset my tetxt feilds plz tel me if any body have idea of this thnx in anticipation On Jun 10, 9:34 pm, waseem sabjee waseemsab...@gmail.com wrote: $(input).attr({ value: }); On Wed, Jun 10, 2009 at 5:17 AM, naz s.na

[jQuery] claering feilds in div

2009-06-10 Thread naz
how can i clear the feilds in using jquery just like reset form in html.if anybody had any idea of that plz tel me

[jQuery] Dynamic underlining for links on a page

2009-05-09 Thread naz
# is clicked. How on earth do I do this? I've managed to use jquery toggle to turn on an underline once it is clicked, but i have to click the same link again to turn it off, which is not what I want, I need it to automatically turn off once a different link is clicked! Thanks in advance guys and gals. Naz