Jump to content
WAPT Forum
Sign in to follow this  
Guest JAEMN

How to define variables from JavaScript

Recommended Posts

Guest JAEMN

Hello:

I am doing some customize parameterization on my scripts, and I want to do some operation in javascript. But I am having hard time making this work. Could you please provide some example where using javacript code interacting with the script? What I want to do is a mathematical operation (+ or -), from some fields readed on a page, send this values to a javascript and then return them to be submitted. I hope you can help me.

 

Thanks in advance! :P

Share this post


Link to post
Share on other sites
Guest JAEMN
You can use function context.variable("var_name") to get/set the value of the "var_name" variable.

 

Thank you Sergei!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...