parameter Archive
-
How to Pass Parameter to funcCall in Jquery Validation
Posted on October 7, 2011 | No CommentsI have to pass an extra parameter to funcCall method. How to do that? And What is the use of i in the parameter? E.g: myFuncCallMethod(fields,i,rules,options) newest questions tagged jquery... -
Jquery iframe with Modal Window pass parameter
Posted on October 6, 2011 | No CommentsHello I have a problem when I modify the input of a iframe that is open with SimpleModalWindow Plugin. I have the code: $ ("#imgTab").click(function(){ $ ("#iframeNode").contents().find("input[name='objParent']").val('val1'); $ ("#modalWindow").modal({ opacity:80,... -
How can i use jQuery’s .find method with a regular expression as the parameter?
Posted on August 31, 2011 | No CommentsI have an xml that i’d like to search for “alike” results, similar to what LIKE does in SQL. I thought about doing something like $ (xml).find('regexHere'), but i don’t... -
jquery query parameter parsing – “=” in query string breaks query string up
Posted on August 29, 2011 | No CommentsI’m trying to parse parameters from a query string using this jquery plugin and this sample query string: http://test.com/?xnJTqqWEclJnnPEvWH&cid=3DF3-00-=63-D4-DA-2F-91-6B-39-39-75-E4-C1-B7-28-12&mid=3D93-36-14-46-4D-52-9E-48-17-=6A-50-13-56-FA-0A-06&PROMO_MONTH=3D201106 Using the code for the plugin: console.log($ .getQueryParam( "cid" )); The... -
Please help with a JQuery/Javascript problem. Possible to pass a variable out of function context without passing it as a parameter to a function ?
Posted on August 14, 2011 | No CommentsBasically just need to write a Jquery/Ajax that fetches Json data (Price data) from server and appends/overwrites each options text value so it would have the price difference between the... -
Neatening up custom event handlers – remove need for ‘event’ parameter
Posted on August 12, 2011 | No CommentsI’m building some objects that will trigger custom events, and I’m using jQuery’s bind and trigger to manage this for me, like so: function MyObject() { var _this = this;...