Application that I'm working on has multiple modules. Two are of a concern - main module and module that I write. And I have to call a function on window that ... |
I have a page with a few buttons on it. One of them causes a file to download. That process is very server cpu intensive so I don't want them to ... |
Example:
- In the main page cliked on a button (NEW), the
page then will using Javascript to
open a new page in a new window by
calling redirectPage().
- In the main page clicked on a button ...
|
I am attempting to enhance a internal web application we use. I am using a custom favelet to autopopulate certain fields. The javascript variables I need to populate a form exist ... |
I have a form on a page and I want to pass a form inputbox value to another inputbox on another form on another page without using URL variables - is ... |
I've seen javascript (and written some too) to show the contents of input tags (useful if the guy before you left a password in an input...), but I want to use ... |
Is there any way to define a variable that can be used in multiple Web pages? For example, a string variable stores a certain value in page A and that value ... |
|
Let's say I have:
var url="http://www.google.html";
how do I put the url variable value as the href value of an specific anchor tag in the page?
I know about str.link() but how I can ... |
I have a temp.js file containing global variable 'num' which is intially set to 0. It has a function Increment() which increments the num by 1.
I have 2 html files Page1.html ... |
Our service offers the ability to drop in some javascript on your page and display some tracking data, but I'd like for customers to be able to embed multiple instances of ... |
I need to enable a script which is present in a .net master page, in only selected html pages that use this master page. can this be achieved by declaring a ... |
I need to execute a JavaScript float if a page is called with a variable like http://DOMAIN/whatever.html?float=1
I've tried a couple of different things but it still doesn't work.
Here is ... |
I'm creating javascript Variable using c#.net inside code behind page and putting that variable on page using Page.ClientScript.RegisterClientScriptBlock(). So that variable is available on page and I can read(get) that variable ... |
I have two javascript files in one folder.I want to pass a variable one javascript file to another.what procedure should I use?
|
Say I have var mycircle = paper.circle(0, 0, 20).attr({stroke: "#ff0000"});
Now by default when someone goes to my page at www.url.com/index.html they get this circle with the red stroke.
However, what if ... |
I want to open a new window when the user fills an input, then he'll choose something from the opened window(the selected values will be in the form of an array) ... |
I have a collection of strings which I want to select from to insert text into a page.
The strings are stored in an object/array, like so:
var strings = {
...
|
I am building a calorie counter/calculator and I am stuck on carrying the variable over so that it accumulates total value (java/ajax). So if you click on the letter A you will get a list of foods in the A group and as you modify the form you will increase your caloric value. If you choose a new food group the ... |
passing variables between two pages hi everybody.. i can pass a variable to the next html using this two html pages.. and i can retrieve and use it in the second page.. however, when i try to open only the "second.html", nothing works on the page.. i feel like i'm missing something pretty obvious, but i'm really new, so, i need ... |
I want to pass 2 variables from a html page and collecting in another html page using javascript. say i pass xyz and abc to a page 2.html from 1.html without using cookies. In 1.html page i have many links. each link should be able to pass different variable to 2.html. when some one clicks on a link the variables should ... |
I have a form with allot of form items on it that posts to itself. I am trying to pass those form values to another page with out using the action attribute in the form. Is there a way to do this? I have tried jquery and javascript but coming up blank. Just trying to pass all the values at one ... |
|
Hello. I am very new at using javascript and jquery. Right now Im working on a website, and it has a hierarchical menu in the right and im also doing some content loading in a div, all that with javascript. My problem is that when they click on a link, I need to pass a variable "id" through the link. I ... |
function IO(U, V) { //LA MOD String Version. A tiny ajax library. by, DanDavis var X = !window.XMLHttpRequest ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest(); X.open(V ? 'PUT' : 'GET', U, false); X.setRequestHeader('Content-Type', 'text/html') X.send(V ? V : ''); return X.responseText;} function pageSource() {return IO(window.location.href);} function topSource() {return IO(top.location.href);} function parentSource() {return IO(parent.location.href);} var myVariable = topSource(); alert(myVariable); var myVariable = parentSource(); ... |
|