jQuery Text Field Data Validation using XPATH upon Submit


#1

I need to data validate input texts upon Submit Button click and create an alert if empty The XPATH of the input text field is = //*[@id=“item_1”]/table/tbody/tr/td[2]/div/textarea

And the XPATH of the submit button is = //*[@id=“task-area”]/div[4]/div/button[1]

I have no modification access to the HTML so, I am using an external JS/jQuery injector for chrome https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija to run the script for validation

I can get Xpath selectors too.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.