Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Rey Bango
Hey Rafael, Great to see another fellow ColdFusion developer on here. I'm not sure what nome is. Is it a div or table cell? Could you explain your issue a little bit more? I'll see if I can help. Rey... Rafael Santos wrote: Hey, it's my 1st time using XML so i cant manage doin this:

Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Rey Bango
I just saw nome in your XML result. So, now just explain a little further what your end result should be. Rey... Rafael Santos wrote: Hey, it's my 1st time using XML so i cant manage doin this: $.post(get_cli.cfm,{status:singles}, function(xml){ var id =

Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Rafael Santos
Yeah, ive done so many copy n paste that i got everything mixed huuhuuhBut could yall explain to me how to use each() to the cli nodes to work with it ?2006/9/26, Klaus Hartl [EMAIL PROTECTED]:Rafael Santos schrieb: Hey, it's my 1st time using XML so i cant manage doin this:

Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Rafael Santos
Thankz KlausLots of alerts showed here.. lol I didnt expect. hahaNow it's working fine =P2006/9/26, Klaus Hartl [EMAIL PROTECTED] :Rafael Santos schrieb: Yeah, ive done so many copy n paste that i got everything mixed huuhuuh But could yall explain to me how to use each() to the cli nodes to

Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Klaus Hartl
Rey Bango schrieb: Klaus is the man! He's one of the best contributors here. Thank you guys, but don't go over the top... I'm simply using jQuery from an early stage on and lucky if I can help a bit. There are others that have a much better understanding of the library itself. Cheers,

Re: [jQuery] AJAX xml new Option

2006-09-26 Thread Rey Bango
Try this: $.post(get_cli.cfm, {status:singles}, function(xml){ $(cli, xml).each(function() { var optn = document.createElement(OPTION); optn.text = $(this).find('nome').text(); optn.value = $(this).find('id').text(); $( #test