[jQuery] Re: please wait while loading...

2008-12-11 Thread Kevin Thorpe
fabrice.regnier wrote: Hi to all, i have a nice gif please wait while loading... and i'd like to show it when i click on a button. Is there a nice jquery way to do it ? do i need a plugin ? $(#Idsubmit).click(function () { -- start showing the gif

[jQuery] How do I build a variable array/object to use $.post?

2008-12-05 Thread Kevin Thorpe
Hi, I'm struggling a bit to get $.post to work. I can get it working as documented, ie. $.post(url, { param1: 1, param2: 2 } ); but I want variable fields on my form (identified by the class 'edit_field') to be posted to the url I thought the approach below would work, postdata is built

[jQuery] Re: How do I build a variable array/object to use $.post?

2008-12-05 Thread Kevin Thorpe
Kevin Thorpe wrote: Hi, I'm struggling a bit to get $.post to work. I can get it working as documented, ie. $.post(url, { param1: 1, param2: 2 } ); but I want variable fields on my form (identified by the class 'edit_field') to be posted to the url I thought the approach below would work

[jQuery] Re: Questions regarding $.ajax ...

2008-12-03 Thread Kevin Thorpe
mhall wrote: Hi all, first post. I'm in the processing of learning javascript and jQuery. I have a CGI application that I have written and have been using in my business for several years. It's written in a rather obscure CGI language called WebBatch. Why? Well, because it's what I knew at the

[jQuery] Re: call a php function with onclick

2008-10-22 Thread Kevin Thorpe
stefano wrote: Hi, I would like to know how it is possibile to call a php function inside an onclick=function (), I try to explain me better Hi Stefano. Your problem is that php is on the server and javascript/jQuery is in the web browser. You need to get onclick to issue another page

[jQuery] Re: Page Content fetch via GET

2008-07-10 Thread Kevin Thorpe
SumanShakya wrote: hi all, i have a problem. I need to fetch page content via get. After data is fetched, i need to perform 2-3 manipulation on data before showing the actual content. Each manipulation modifies the page content. I am using the code shown below $.get(url,function(data) {

[jQuery] IE7 not adjusting width of select box

2008-02-04 Thread Kevin Thorpe
I'm having a spot of bother with select boxes in IE7. I have one select box which empties and refills a second when the selected item changes using an AJAX call. This works fine in Opera and FireFox but IE7 doesn't adjust the width of the second select box to match the new contents. There must

[jQuery] Re: Help with draggable / droppable

2008-01-21 Thread Kevin Thorpe
yourself, but you shouldn't need a cloned helper to accomplish this. On Jan 18, 9:55 am, Kevin Thorpe [EMAIL PROTECTED] wrote: Thanks for your comments. I've just cracked it (I think). I was getting the drop event ok but couldn't work out how to move the dragged div. It was just sitting

[jQuery] Help with draggable / droppable

2008-01-18 Thread Kevin Thorpe
to the destination table cell. It simply sits where I dropped it on the page. Can anyone please enlighten me on this? thanks Kevin Thorpe

[jQuery] Re: Help with draggable / droppable

2008-01-18 Thread Kevin Thorpe
Thanks for your comments. I've just cracked it (I think). I was getting the drop event ok but couldn't work out how to move the dragged div. It was just sitting where I'd dropped it. The secret is to use a cloned helper with $('.drag').draggable({helper: 'clone'}); and then move the original