NetTalk Central

Author Topic: Possible causes of 'Button' not working  (Read 2171 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 342
    • View Profile
    • Email
Possible causes of 'Button' not working
« on: February 05, 2014, 03:46:07 AM »

Hi,

What could possibly be the problem of a button not executing the server side code?
The button is disabled and then nothing happens.

I have checked, it's not a submit type or anything else, def just a 'plain' button
Not quite sure what to check for in the html or the console.


A similar button on another page works 100%

thanks for any direction.

Johan



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Possible causes of 'Button' not working
« Reply #1 on: February 05, 2014, 07:53:46 AM »
no idea. could be anything I guess. An example would be needed to properly assess it.

Stu

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
    • Email
Re: Possible causes of 'Button' not working
« Reply #2 on: October 21, 2014, 03:48:12 AM »
This might not be relevent, but I've found:

* Form -> Memory Form (with "Generate <FORM> tag" ticked OFF) -> Custom button that sends a debug() in the server-side code.

The code does not get run, and there is no movement in firebug console.

The <FORM> is needed (or there's some awesomer reason that Bruce can tell us all about, heh).
Cheers,

Stu Andrews

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Possible causes of 'Button' not working
« Reply #3 on: October 21, 2014, 05:45:20 PM »
I would stick a debug point at the start and end of your block of server side code to eliminate if that is causing the problem.