variable Archive
-
how to get @variable from rails’ controller via jquery .load() or else?
Posted on February 1, 2012 | No Commentsthere are fields for parameters and values, and autocomplete script for values’ fields in item’s form. i get values from variable @values. so when i change item’s category, i need... -
jquery php variable
Posted on February 1, 2012 | No CommentsI have a variable hard coded in to my html inside script tags like this(it calls meta information from a wordpress post and I’ve checked that the meta is being... -
Can’t use javascript variable inside nested function (jquery masonry plugin)
Posted on January 28, 2012 | No CommentsI want to use a javascript variable to calculate the columnWidth variable of the jQuery Masonry plugin. When I view source on my page, I see the variable name in... -
jQuery 1.5.2: default variable not modifyable within function
Posted on January 19, 2012 | No CommentsFirst of all I’m not sure if I stated the subject of my question very well. I am trying to set a default variable “var x” at the beginning of... -
Comparing a javascript variable with a part of a href
Posted on January 18, 2012 | No CommentsI need to compare a var foo = 'whatever' with THIS: <ul id="nav_main"><li><a href="index.php?pag=THIS">link</a></li></ul> And then, put class="current" inside the matched <li>. Thanks in advance. newest questions tagged jquery –... -
Supersized Plugin [jQuery] to show specific set of images if a variable is ‘true’?
Posted on January 12, 2012 | No CommentsI have used the Supersized Fullscreen Gallery plugin for my website. I’m having trouble approaching a function I want it to perform and I can’t seem to get any hints... -
Basic variable manipulation of data-* attributes
Posted on December 29, 2011 | No CommentsImagine the user gets a better discount the higher the data-hipsterness value is and we get this value by asking 4 questions and providing 4 choices for each question. I’m... -
Pages of same website opened in multiple instance of browser should refer to same variable using javascript
Posted on December 28, 2011 | No CommentsI have website www.xyz.com and it is having 3 pages a, b and c. I open one page a in Internet Explorer instance 1 (i.e. www.xyz.com/a ) I open the...