Go Back   Access World Forums > Apps and Windows > Web Design and Development

Thread Tools Rate Thread Display Modes
Old 05-09-2013, 01:29 PM   #1
Newly Registered User
Join Date: Mar 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Jarobe86 is on a distinguished road
Javascript Messagebox

Hey everyone,

I am automating a the filling out of a web form. I am able to automate almost all of it, but when I actually save the work. This function gets called, and a message box pops up. It doesn't stop my code like a VBA message box...so I'm able to use Sendkeys to bypass it...but I was hoping for a more robust way? Also there is a small loading window which doesn't seem to work with:

Do While Obrowser.ReadyState <> 4: DoEvents: Loop

I don't see that anything is changed after the loading screen...except For a pop up that says saved successfully.

url: '/CustomForm/UpdateMilestone',
type: "POST",
datatype: "json",
data: JSON.stringify(postdata),
contentType: "application/json; charset=utf-8",
success: function (data) {
if (data.result == "success") {

Slate.MessageBox.successWithMsg('Milestone was updated successfully');

else {

The offending code is:

Slate.MessageBox.successWithMsg('Milestone was updated successfully');

Is there anyway I can use VBA (or something else?) to determine when the box has popped up and click it?

Thanks Guys!

Jarobe86 is offline   Reply With Quote

form , message box , script , vba , web

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win 7 / JavaScript Dick7Access Windows 0 08-11-2012 11:23 AM
JavaScript in Adobe LadyDi Other Software 0 03-26-2009 09:31 AM
DBlookup Javascript Rebel7 General 8 03-19-2009 02:18 PM
JavaScript for field possible? gilgalbiblewhee Forms 4 03-21-2005 06:56 PM
Converting Javascript SMatthews Forms 1 01-25-2002 03:15 AM

All times are GMT -8. The time now is 01:28 AM.

Microsoft Access Help
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post

Sponsored Links

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World