Jump to content

IE Javascript error


Recommended Posts

I am entering data from excel files into a web form. If the client's name already exists, a Javascript bootstrap displays an error.

HTML is   <div class="alert alert-danger">New client failed to save. Clientname has already been taken. </div>

Dim $oAlert  boolean
$oAlert = Send("^fNew client failed to save. Clientname has already been taken{ENTER}") 
MsgBox($MB_SYSTEMMODAL, "", $oAlert)

I tried sending Ctrl + F to find the string "New client failed to save. Clientname has already been taken." and that finds the text. The attempt to generate a true or false state failed.

The string is highlighted in the web page but I can't figure out how to tell if it was found.

 

Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...