[jQuery] jquery ajax problem

2007-09-25 Thread luigi7up
Hello everyone, I think Ill go go nuts! I already posted something about problem Im facing with but I didn't get the right answer so Ill try again by expaining my problem further. My PHP website is organised in following manner: MAin file is index.php and it includes other files. So, my "compon

[jQuery] Re: Select event on SELECT box

2007-09-25 Thread luigi7up
s.jquery.com/Events > > One you will probably need is $("select").change(... > That fires when the user selects an option with keyboard or mouse. > > What do you mean "de-select"? > > Glen > > On 9/23/07, luigi7up <[EMAIL PROTECTED]> wrote: > &g

[jQuery] Select event on SELECT box

2007-09-24 Thread luigi7up
Hi, Im having problems SELECT box. I have few options in my box. Some of them have class="unavailable" and for those I want to trigger an event. When you select option with that class: //Do something When you "deselect" it: //do something else I would like to find a solution for keybord and mo

[jQuery] Re: jQuary Ajax

2007-09-19 Thread luigi7up
= 'checkname') { > // print var;} > > else { > // print page; > > } > > A more sophisticated way of handling this would be using the switch- > statement. > > switch ($_GET['task']) { > case 'checkname': { > // print var;} break;

[jQuery] Re: jQuary Ajax

2007-09-19 Thread luigi7up
/ print var;} break; > > case 'page': // fall-through > default: { > // print page > > } break; > } > > Or you simply create a new file that explicitly handles AJAX requests. > > HTH, > Rick > > luigi7up wrote: > > Hello everyone,

[jQuery] jQuary Ajax

2007-09-18 Thread luigi7up
Hello everyone, Is it possible to send ajax call for somefile.php and get just value of one php variable generated by that server script? Example: $.post( blog.php?task=checkname, {ime:$(\"#ime\").val()}, function(msg){ alert(msg); }); This ajax