Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2017
    Location
    Jakarta
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I debug and trace javascript process of submit on input tag?

    How do I debug and trace HTML code process of submit in input tag?
    i.e how to analyze consequence of the code
    <input type=”submit” role="button" … >

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    8,083
    Thanks
    37
    Thanked 1,081 Times in 1,077 Posts
    What code??? Post it.
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.

  3. #3
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,427
    Thanks
    4
    Thanked 488 Times in 476 Posts
    Unless you've added some sort of scripting, there's nothing TO trace or debug...

    Though I'd suggest ditching that aria role BS if it's actually a submit. <input type="submit"> is a button? REALLY? Whoddathunkit! PROOF POSITIVE that the whole aria role nonsense is pointless redundancies.

    Pfft... role="button"... *sigh* Next thing you know you'll have people putting it on a <button> tag... OH WAIT, I've seen that already too.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •