Posts Tagged Variable

In Javascript, How Do You Make A Variable That Can Be Used My Two Different Functions?

Let say that I wanted to use four vars A=user’s number, B=3, C=7, D=A+B+C. Now I have made two buttons, one button when pushed triggers A to be added to B and when prints it, and the second button then takes D-B and prints it out.
How do I do this if I only wish to have the user to input there number once?

, , , , , ,

3 Comments

How To Use Javascript Variable In Vb Script?

I have to use javascript variable in vbscript. Plz help me ASAP.

, ,

1 Comment

How To Post A Php Variable Value In A Javascript Function?

JAVASCRIPT

, , , ,

1 Comment

How Can I Declare A Global Variable Inside Javascript Function..?

Is it possible to declare global variable inside a javascript function…?

, , , , ,

3 Comments

I Have Some Javascript And Asp In A Webpage. How Do I Pass A Javascript Variable To Asp (read Below)?

Essentially I have a variable named “strfile” that is in Javascript. I need to access this variable or “make it available to be used” by ASP. The Javascript and ASP code is all in the same page.

, , , , , , ,

2 Comments

How To Clear The Variable Which Is Declared In The Code Behind Through The Javascript?

In my asp.net application i have used a variable. In client script i used the value of that variable. after i used it, i have to clear the variable as null or empty string. how to do ?

spanish mortgage brokers

, , , , , , ,

1 Comment

How Long Is The Limit Of String Length Of String Variable In Javascript?

How long is the limit of string length of string variable in javascript?

, , , , ,

1 Comment

Is It Possible To Mke An Alert Box In Javascript And Add In The Alert Box An Additional Variable.?

For example. I made a prompt box to ask for the customer name. I saved the customer’s name in a variable. I then need to create an alert box that says “Hello [customer name here]. Please look through our available stocks”
Can someone please tell me how to insert the customer’s name in the alert box thank you.

, , , ,

1 Comment

How Do I Load A Text File Into A Variable Using Javascript?

I am setting up something big for a friend of mine. He want’s to use a basic template for a webpage and load automatically generated text files as the content.
There’s only 1 problem. The program that he uses to automatically generate the text files change double quotes to &doublequote; and leaves a double quote character at the end of each line.
Now, I know how to use javascript to remove the double quote and change the &doublequote; back to a double quote but how do I load the text file into a variable so that I can do it?

, , , , , ,

1 Comment

Need Help With Coldfusion (cfm) Variable Concatination..?

The only way i can explain this…
in PHP:
var1 = ‘firstName’
var1 .= ‘lastName’
Thus, var1 would be ‘firstName lastName’
How do i do this in CFM?

, , , , ,

1 Comment

Powered by Yahoo! Answers