It seems in your onclick() function you have a setTimeout to call itself in 60 seconds.
Unless you have doCount() defined elsewhere, you need to call the correct function within the setTimeout.
Please change your line 13 in your original post or line 16 in epots9 reply to the following and it should work as expected.
[code=javascript]
setTimeout('onclick()',60000)
[/code]...
User Profile
Collapse
-
-
I found a solution to my issue, so I feel that I need to post it to the forum:
I realize that this implementation is limited to IE, but works for the environment that is required for me.
Hope this solution also helps someone else.
Lines 42 and 43 in my original post #1 would be replaced by the following to make it work.
[code=javascript]
//Make sure we can access the solver addin
//Forgot...Leave a comment:
-
Change your line 6 in the code to the following:
[code=html]
<SELECT NAME="departmen t" onChange="testV ar = this.value">
[/code]
That should update the testVar variable whenever the dropdown box changes.Leave a comment:
-
An example of how to do this is:
[code=javascript]
<script language="javas cript">
//Make sure the user is warned that there is data that has not been saved.
function UnloadTrigger() {
var boolChallengeCl ose = true;
//do checks here to see if you want to prompt them to close window
if (boolChallengeC lose) {
// Return a string from this function so a popup box...Leave a comment:
-
Using Excel Solver from web page using Javascript
I am new to this site, so be patient if I do not ask the question correctly.
Current Target Platform: Browser: MS IE, script language: Javascript (will use VBScript, but JS is preferred), External apps: MS Excel
What I need to do: From a web page using javascript, I open a new Excel application and sheet, populate some information into it. After it is populated with some information, I need to run the "Solver..."...
No activity results to display
Show More
Leave a comment: