0
votes
2answers
28 views

Writing an App with jQuery - how to store variables?

I guess it's somewhere on the web, but I just cannot find it.. So here's my problem: I am writing an app with jQuery and PhoneGap and I have the problem that when I use window.location.href in my ...
-1
votes
1answer
32 views

How to make variables to change dinamicaly in HTML? [closed]

Hello all :) I am new member here :). I'm pretty new to HTML too. I'm trying to make a web-based power management system. Basically I'm using a power meter and transfer variables from it to a PLC ...
0
votes
1answer
15 views

jQuery assign event handler with timeouts per element

Interesting one for me. I've got a video player whos controls are showed on hover. Initially, I did this with CSS but had to change strategy to javascript to play nice with browsers fullscreen api ...
1
vote
2answers
37 views

javascript pass object as reference

i have a object, which is getting passed in many different functions inside a function. these functions may or may not change the value of the object, but if they do change it, then i would like to ...
-2
votes
0answers
27 views

how to send javascript variables to php GET without refreshing page. [duplicate]

I want, that when you click, the recordset filter change to the on click number, so then the repeat region filter just the entered value, but i have no idea how to do this. please help I'm stock. . ...
1
vote
2answers
34 views

Extracting variable from onchange event handler for use in other functions

I have an event handler listening for a change in a dropdown and setting the value of a variable. I have declared the variable as global i.e. outside of any functions, and then set the value on ...
1
vote
1answer
25 views

Script to search for a value and create a variable dynamically?

Sorry if the question in the title is a bit vague, here's what I'm trying to accomplish: Is there a script out there that can search a page (or page source) for a particular determined value (for ...
0
votes
3answers
38 views

Variables won't increment in a jQuery function?

I was just doing some last minute touches when I came across a problem with my code: $(document).ready(function() { /* Declaring some variables to help with scrolling through my Portfolio */ var ...
1
vote
1answer
30 views

Javascript function variable scope

What difference does it make to do the following: function (callback) { var callback = callback || false; combineCallback = function () { callback.apply(window); .... } ...
0
votes
1answer
20 views

Adding multiple variables in the page URL using javascript

Since I'm relativly new to the use of php and javascript I ran into this problem while trying to add multiple variables in a URL I use the following script: <script> function refresh() { var ...
-6
votes
1answer
74 views

Declared variable but can't reach it from HTML <script>-tag

I'm trying to reach a variable declared in a JS-file from a -tag in a HTML-document, without success. What should I do with my code to reach it from my HTML code. How should I declare the variable to ...
0
votes
2answers
28 views

document.location.href resets global variables

I am writing a game and use different html files but only one javascript file, which is included in every html file. I have my global variables in this file that are necessary for the game run. I have ...
0
votes
1answer
33 views

How to be able to pull data from xml where the roots and elements are variables from select box

I am pretty new to web coding and trying as a hobby to develop a quotation software for a digital printing company that will be able to give an instant quote to a potential customer. I am struggling ...
0
votes
7answers
57 views

How to call a Javascript passing a variable from PHP

I am trying to call a javascript function from php code, which it will receive a php variable from an input form. Once Javascript function received this variable or value it will call a php ...
1
vote
1answer
16 views

Get HTML textbox value with Flash

I have a textbox on a page in which the value of it changes on the users requirements. For convenience, I have added a flash button next to it to copy the value of the box. As the page doesn't reload, ...

1 2 3 4 5 143
15 30 50 per page