Announcement

Collapse
No announcement yet.

Ajax Event on Button

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ajax Event on Button

    Hi
    i put a button in my form:
    Make a new field type label, content <button type="button">Click Me!</button>

    Now i like to execute an sql Statement (add a record in the detail table) and reload the detail table. If possible, without loading the whole form.

    Can i catch an Ajax Event on the button (label field)?
    How can i reload the detail form with code?

    Best regards
    Steve

    P.S: Would be great, if SC make a field type button...

  • #2
    I would like to know the best method to accomplish this also. I have been able to use a checkbox with an onclick to ajax function that updates a database.... but I would really like a button instead.

    Comment


    • #3
      Please don't double post.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment

      Working...
      X