I have few gridviews with a checkbox. I want the selected items in the gridview to be populated in a seperate list. Please suggest me a javascript library which can be useful.
Example as below : Please see the pic
http://i46.tinypic.com/2ibnar5.jpg
...
Is there a single regular expression that can parse a string (in Python and Javascript, does not need to be the same expression) that represents simple boolean arithmetic? For example I want to parse this string:
a and (b and c) and d or e and (f or g)
Assuming that:
* parentheses do not nest
* the terms a, b, ..., z are not sub-expre...
Was just wondering if there are any other framework for mobile app development for example using php, ruby, python etc excluding objective C (Iphone and Ipod touch), mono or the use of html and javascript (Phonegap, titanium etc).
...
I'm combining multiple js files using YUI Compressor. The command works successfully and outputs a combined file properly.
When I point my page to it, however, it doesn't seem to be read properly and I get this error in the Javascript error console.
YAHOO is not defined
I've tried using the --nomunge and --preserve-semi options but ...
Hi,
I have checkboxes generated with an auto ID
I am using the function below:
getAllSelectedFeeds = function() {
var val = [];
$('input:checkbox:checked').each(function(i) {
val[i] = $(this).attr('id');
});
return val;
};
It checks if any checkboxes are checked but I only want it to run for those checkbox controls with "sel...
I need to generate a result from 2 XMLHttpRequests.
How can I make the requests concurrently and wait for them to both finish?
I've though of something like...
resp1="";
req1.onreadystatechange=function(){if(this.readyState=4)resp1==this.responseText;}
req2.onreadystatechangefunction(){if(this.readyState=4) finish(this.responseText);}
...
The context: I'm writing JavaScript to run an executable and tweak some registry entries on the client machine. I've signed the .JAR using SignTool and my company's Authenticode certificate, but running the script produces a dialog saying:
There is no mention of the root certificate authority (in this case Comodo, I believe), so I co...
Moaning about the lack of a dislike button is all the rage on Facebook at the moment and various groups have sprung up offering a dislike button, but only after you've invited x amount of your friends.
One of the more (possibly devious?) groups requires you to run Javascript as part of the joining process. I haven't ever done web coding...
Hello.
I have an ASP.Net FileUpload inside an UpdatePanel. When I click on a save button inside the same updatepanel and check on serverside if that control hasFile it is allways false.
Where is my error? Do I need to post the entire page?
Thank you!
...
Hi,
I'm using the Canvas object with javascript. Just doing some tests to see how fast I can set pixels in a draw loop.
On mac, it works great in FF, safari, chrome. On windows, I get a flickering effect on FF and chrome. It looks like somehow the canvas implementation on windows is different than on mac for the different browsers? (n...
I have a JavaScript application that is being loaded in an iframe (via a Liferay portlet). The actual HTML is just an empty tag and the JS is loaded when the document is loaded.
When Liferay loads the page in the iframe, it resizes the frame based on the body.scrollHeight property which ends up being 0 since there is no real content i...
I don't want my users having to load a ton of JS files if their browser doesn't support it. What's the best/easiest/fastest to only load JS scripts if the browser supports Javascript?
Thanks in advance,
- JS noob
...
Basically I am trying to write a js func that if I check a child checkbox the parent checkbox also checks, if not already checked. I am using jquery here is my html:
<ul id="ulParent" style="margin: 0; padding: 0; list-style: none;">
<li style="margin: 0 0 5px 0;">
<input type="checkbox" checked="check...
I'm porting a piece of JS code written for Firefox into Internet Explorer. I faced a problem of changing style of an element using setAttribute method which was working on Firefox.
button.setAttribute('style', 'float: right;');
I tried setting the style member of button and it didn't work either. This was the solution in case of setti...
I would like to display a bunch of data in a meaningful way through visualizations on a site.
I have been experimenting with RaphaelJS library, but performance on IE8 is terrible, and HTML5 canvas is still not widely supported.
So I'm left with Flash and any existing libraries.
On the flash side there seem to be many, but because of ...
Menu does not display in line. Not sure how to call the CSS code. Also I want the alert to tell me which menu item was clicked.
<script type="text/javascript">
function get_list() {
$("#tabs").click(function(){
$(this).click(function(){
alert(this);
});
});
</script>
<style type="text/css">
#...
I am trying to dynamically add data points to jqplot as a result of AJAX received data, but I do not see a way to accomplish this. Is this not possible?
If it isn't, what other packages are available that can accomplish the same basic graphing plus allow for dynamic data?
...
I'm starting to learn some javascript and understand that dashes are not permitted when naming identifiers. However, in CSS it's common to use a dash for IDs and classes.
Does using a dash in CSS interfere with javascript interaction somehow? For instance if I were to use getElementByID("css-dash-name"). I've tried a few examples us...
I was going through Questions every good .Net developer should be able to answer and was highly impressed with the content and approach of this question and so in the same spirit, I am asking this question for JavaScript Developer.
What questions do you think should a good JavaScript programmer be able to respond to?
EDIT : I am markin...
HI!
I use this the following regex with JS to extract this id 6321890784249785097 from that url
http://video.google.com/googleplayer.swf?docId=6321890784249785097
url.replace(/^[^\$]+.(.{19}).*/,"$1");
But I only cut the last 19 chars from the tail. How can I make to more bullet-proof? Maybe with an explanation so that I learn somet...