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 = $(
;
});
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?
&
> 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)
&
ork:
>
> var action = 'somepage.php';
> var postThis = {Name:"Jimmy", Username:"Something",
> Password:"something", Email:"someth...@someplace.com"};
> $.post(action, postThis, function(data) {
> alert('done');
>
> });
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.
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
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
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
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
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
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
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
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
13 matches
Mail list logo