Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] question


  • From: javascript@xxxxxxxxxx (BEKIM BACAJ)
  • Subject: [Javascript] question
  • Date: Tue, 28 Jan 2003 22:41:57 +0100

If you don't have time to learn about SCRIPTLETS than you can try the 
folowing workaround:
use the VBS to write this particular var into some hidden DIV, or some input 
of the hidden type, and use the JavaScript to access the written value. (for 
the DIV use the innerText property to get the string) this way the string 
var in VBS will be translated into undersandable string code for JScript

Otherwise try to find articles where you can learn about Scriptlets and how 
to implement them, you will find them making your life both, easier and more 
complicated at the same time.
Cheers!







>From: "khalid shadeed" <shadeekm@xxxxxxxxxxx>
>Reply-To: javascript@xxxxxxxxxx
>To: javascript@xxxxxxxxxx
>Subject: [Javascript] question
>Date: Mon, 27 Jan 2003 14:35:09 +0000
>
>Hi
>I have question for you, if you can answer it for me, any help will be 
>appreciated.
>
>I have function on vbscript calling the database and get date difference 
>between two dates for any user, creation date for password and expiration 
>date for password. That function taking parameter the userId, and I have 
>javascript function suppose to get that value as number and test to see if 
>the user has to change the password. Prompt the user message telling 
>him/her that they have to change the password
>The Problem I have is, i do not know how I can pass the result from 
>vbscript function to JavaScript function.
>Thanks in advance and i hope to hear from you soon.
>
>Regards
>
>Khalid Shadeed
>
>
>
>_________________________________________________________________
>The new MSN 8: advanced junk mail protection and 2 months FREE*  
>http://join.msn.com/?page=features/junkmail
>
>_______________________________________________
>Javascript mailing list
>Javascript@xxxxxxxxxx
>https://lists.LaTech.edu/mailman/listinfo/javascr

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail