Python Forum

Full Version: POST Reply to Ajax/jQuery (mostly an HTML question)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to write a script that replies to a web page but it appears the reply is via a Ajax/jQuery call. However, I am not sure as I can't find where that call takes place. There is a 'continue' button on the page that triggers the response but I don't see how it works. Here is the input tag:

<input class="th_s" data-i18n="[value]report.ContinueButtonResource1" id="MainContinueButton" type="button" value="Continue"/>

I've not used internationalization so I don't know if that can be doing something. In any case can someone help figure this out? TIA.
Where's the JavaScript code that handles the click event on the button? You'll need to at least look at that.
That is the crux of my problem. There is no 'onclick' attribute on that button.
A button do not need onclick to do something can call id ,type, value and do something in JavaScript based on that.
To see what going on is normal to use Chrome/fireFox DevTools.
If can post url we can take a look.
As above, you don't need an onclick attribute. There should be some JavaScript code that sets up the event handling for the click event on that button (for example, a call to jQuery's click function).
Yes, I used Firefox's developer tools to trace what it happening. I found the javascriptcode that is running and opened a new threadon how to deal with it.