Reply-to: gcf@npac.syr.edu To: bernhold@npac.syr.edu Subject: WMLScript Date: Mon, 24 Apr 2000 22:40:12 -0400 From: Geoffrey Fox I found You cant alter the content from a script, but you can use your variables in such a way that it almost simulates the desired behaviour. A wml page with variable references only, will be dynamical, although you cant assign wml code to your variables. Your tags can be variable references such as $(var2) Even your images could probably be variable references, havent tried that myself though. Elsewhere I found:

Enter SSN:

You entered:
SSN: $(SSN)

extern function validateSSN(SSN) { if (String.length(SSN) != 9) { WMLBrowser.setVar("SSN", "Error: String must be 9 digits long."); } WMLBrowser.go("WMLScriptExample.wml#Results"); }; This looks like use of function validateSSN($(SSN)) as an event handler while $(var2) allows you to construct card So I think it is fair to say that the WAP DOM is limited (no mouse over etc.!) but WMLSCript understands it. I see book(s) from WROX in July So in general description is excellent I think we need to get Oh implementing. Looks fun Geoffrey Fox gcf@npac.syr.edu gcf@cs.fsu.edu Phones Cell 315-254-6387 Syracuse Office 315-443-2163 FSU Office 850-644-4587