Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ZendDeveloper

    Inserting html into element that has

    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...
  2. ZendDeveloper

    submitting dynamic form and updating dom with jquery

    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...
  3. ZendDeveloper

    Adding jquery event when html has been added to dom via Ajax

    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.
  4. ZendDeveloper

    Adding jquery event when html has been added to dom via Ajax

    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...
  5. ZendDeveloper

    Disable post items if empty

    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...
  6. ZendDeveloper

    Disable post items if empty

    That's brilliant thanks. I'll try this out tomorrow when I am back at work. Much appreciated.
  7. ZendDeveloper

    Disable post items if empty

    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...
  8. ZendDeveloper

    Disable post items if empty

    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">...
  9. ZendDeveloper

    Disable post items if empty

    Sorry, don't know why I misunderstood you there! They are input boxes.
  10. ZendDeveloper

    Disable post items if empty

    Hi again, The form values are quantities, purely numeric. I'm trying your code and will let you know how I got on. Thanks again
  11. ZendDeveloper

    Disable post items if empty

    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...
  12. ZendDeveloper

    Disable post items if empty

    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...
  13. ZendDeveloper

    Have iframe break out of parent

    Thanks greg and vicvirk, Yes unfortunately Greg has it right. I can't control what is sent back to me so this won't work unfortunately.
  14. ZendDeveloper

    Have iframe break out of parent

    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.
  15. ZendDeveloper

    Have iframe break out of parent

    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...

Part and Inventory Search

Back
Top