[jQuery] Re: Post variable array

2009-08-13 Thread cz231
function(data){ >         alert("done"); >     }); >     return false; > > }); > > On Aug 12, 1:24 pm, cz231 wrote: > > > Yeah sure...here's the code: > > > $("button.save").click(function(){ > >                 var action = $(

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
; }); Thanks On Aug 12, 4:44 pm, James wrote: > It's probably possible to not need to use it. But you're not revealing > much code to us it's difficult to help. > Can you show us how what you put in your variable 'postThis'? How do > you create this? &

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
>     alert('done'); > > }); > > On Aug 12, 9:28 am, cz231 wrote: > > > I think I know the problem...My postThis variable ends up being just > > one big string. How do I convert it to the correct type? (I'm not even > > sure what type is correct) &

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
ork: > > var action = 'somepage.php'; > var postThis = {Name:"Jimmy", Username:"Something", > Password:"something", Email:"someth...@someplace.com"}; > $.post(action, postThis, function(data) { >     alert('done'); > > });

[jQuery] Re: Post variable array

2009-08-12 Thread cz231
s "action"  and postThis contain? You > describe them as "actions", isn't telling me anything. > > Jörn > > On Wed, Aug 12, 2009 at 7:40 PM, cz231 wrote: > > > Hi, > > > I'm using AJAX to submit a form. I'm using the POST method.

[jQuery] Post variable array

2009-08-12 Thread cz231
Hi, I'm using AJAX to submit a form. I'm using the POST method. Example: $.post(action, postThis); Both action and postThis are actions. Action is the URL and postThis is the data to be submitted. Right now, this isn't working. I know I can pass the action variable because that has always been

[jQuery] Re: jQuery not working with content that is loaded in.

2009-08-11 Thread cz231
I think I solved it. Basically I wrapped everything in a function called js. Then on document load I ran the function. I also re ran the function whenever I reloaded content. It works, but due to my lack of knowledge on binding, will this affect performance alot? On Aug 11, 2:28 pm, cz231

[jQuery] Re: jQuery not working with content that is loaded in.

2009-08-11 Thread cz231
ng the latest jQuery, you can bind most events with .live > () to ensure that your events are attached when the new content is > loaded in. Note that this doesn't work for all events, though. > > On Aug 11, 12:03 pm, cz231 wrote: > > > Hi, > > > I'm building an

[jQuery] jQuery not working with content that is loaded in.

2009-08-11 Thread cz231
Hi, I'm building an online application, and I want one widget to refresh every time a user clicks a certain element. So I wrote a jQuery on click listener that initializes the function to reload the widget. However, when the widget is reloaded, all of the javascript effects stop working for that

[jQuery] Re: jQuery syntax

2009-06-17 Thread cz231
e returned XML > and make it XML parse-able, but I can't find it. If you do a search on > the jQuery groups, you'll come across a lot of posts regarding this IE > and XML issue. > > On Jun 16, 8:03 am, cz231 wrote: > > > Hi, > > > I've been working

[jQuery] jQuery syntax

2009-06-16 Thread cz231
Hi, I've been working on a project that uses xml. But for some reason, it does not work in internet explorer. And after hours and hours of debugging, I cannot figure out why. I would deeply appreciate it if you could help me. I hope this isn't asking too much, but what is wrong from the code belo

[jQuery] jQuery debugging issues

2009-05-29 Thread cz231
Hi, I've been working on a project that uses xml. But for some reason, it does not work in internet explorer. And after hours and hours of debugging, I cannot figure out why. I would deeply appreciate it if you could help me. I hope this isn't asking too much, but what is wrong from the code belo

[jQuery] Javascript Debugging Issue

2009-05-29 Thread cz231
Hi, I've been working on a project that uses xml. But for some reason, it does not work in internet explorer. And after hours and hours of debugging, I cannot figure out why. I would deeply appreciate it if you could help me. I hope this isn't asking too much, but what is wrong from the code belo