Is there a way to access all the object instances starting with a common string.  Example: I have instances named button64, button223, button856471, button229846, etc. I have no control over how these instances are named. I want to push all these in...
I want to search for titles using shell wildcards like *.js, *.*.* etc. in js. The thing is I loop through a list of titles and I need to filter the files using a js regex test. How do I convert shell wildcards to regex in a good way or are there any...
I am trying to set up a build system for my front end work though I am running into a problem where it loops processing files over and over again. This is a problem with my js processing since I am not sure how to exclude just the files with .min as...
I'm used to jquery, but need to use the Prototype framework for this project.  I have a list of images (jpg, png, and gif), some of which have are links with the <a> tag. I need to add a rel attribute only to those <a> tags that are d...
I'm using a js library inside a PhoneGap application for iPhone. I don't know what other external sites my js library contacts, so I need a way of whitelisting all connections, just for testing. How do I do that?  My app just silently fails,...
I'm trying to match URLs with wildcards in them to actual URLs. For example:  http://*google.com/*   Needs to match  http://maps.google.com   And  http://www.google.com/maps   What would be the best way of going about this?  I've tried using...
I have a ton of variables to work with here, with information going back and forth between a form in HTML. The variables need to be global so that they can work across a variety of functions. So here's one sample of the list:  var charDex = 0; va...
I want to be able to have a pubsub mechanism similar to found in jQuery's custom events and PubSubJS (http://github.com/mroderick/PubSubJS).  The problem is that each one of these pubsub libraries does an exact match on the subject. IO want to be...
If my javascript ajaxes away to my server and returns an ID of 49 in the plain text format of [49] is there a way in which i an do something like this... (i have tested and doesnt work)  switch(data) {     case '[*]':         (..etc.)     bre...
I have an input element which id looks like:  Les_Site_1381400656_43306_input   The ID format will always be Les_Site_ANYTHING_INPUT  My current selector is: $(element).find('[id^=Les_Site_input]')  How do I i make a selector which says i wan...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.