Hope someone can help.
I have a page that changes depending on various scenarios. In one of these scenarios javascript adds a block of html to the dom and depending on whether a message is set this will then need to contain the contents of the message. Both the block of the html and the...
Hi,
I have a shopping basket which has multiple rows with a form surrounding them. On the quantity of the individual items I have buttons that trigger jquery events that update basket totals elsewhere on the page. To do this they send an ajax request that updates the basket and passes back...
Hi Dan,
I read about live events just before I finished for the day yesterday (I would have posted otherwise). Thanks for the confirmation though. They worked perfectly!
I have to say, my first impressions of Jquery over prototype etc. is that it is so much more intuitive.
Hi,
Just starting with Jquery so if this is ridiculously simple then sorry!
I have a form that triggers a JQuery event to an ajax call. The Ajax does some processing and then returns a block of html to be output into the form. The Html that is injected into the dom contains radio buttons...
Just an update to say thanks again,
Vacunita's post nailed it. I had to change the loop from for(var i=0; i<=element_count; i++){
to for(var i=0; i<element_count; i++){ and trigger the javascript from an onclick event but now it filters nicely and only sends over products that have a value...
Thanks Vacunita,
How would I do this so it only goes through the super_group post items rather than all post elements in the form?
Also, with the multidimensional array of form posts I am using (or array of arrays as it is in reality), I presume I would just need to add a nested loop within...
Actually, I better clarify exactly what is being passed - I'm not having much luck and that's probably because my data was misleading.
Ok, so here is some actual data that is being passed through the form:
<input name="super_group[1951][740]" value="0" class="input-text qty" type="text">...
Hi Feherke,
I will indeed be checking the values server side so that in itself isn't a problem. I have been asked to strip them out client side before the post which is why I asked.
The serverside app is quite intensive and the form that will be posted here will be quite large hence why we...
Hi,
I have a form that posts quite a lot of data through to a php page. What I want to do is iterate through an array that is posted and if the array element has a blank value disable it before the form is actually posted so it doesn't get processed by the php script.
For example, I might...
Hi Greg,
When the iframe has doen it's job it returns to a specified url. I always know where this is so no problem there.
The actual main processing that goes on in the iframe is off site (a payment gateway) so I have no control over what is there until it posts back a response.
Hi,
I have a page that has an iframe that does some processing. When this has finished I need to have the parent close and for the page within the iframe to be the only one displayed.
The iframe does some credit card processing and redirects to a success page and it is this that I need to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.