The following code provides Remove capability on each of the list page (e.g. sample list page given below), of which only 3 variables (tableId, removeButtonId, headerCheckbox) vary in each page. How do I re-use this script across all pages, instead of defining this in each page. How do I pass parameters to this script from each page dyna...
Hello all,
I have asp page that need to access a client resource. Can I put the client code in a Windows Service and install it on client machine and call that service in asp JavaScript page?
Thanks
...
I am writing a firefox greasemonkey script which is supposed to run inside gmail and allow users to submit all attachments from a gmail conversation thread to my server. I only see two ways of doing this currently.
Ask user to authenticate and fetch via users imap/pop3 access directly from my server. I will have complete access to use...
Site: http://tinyurl.com/2cjlsxk
This code is not optimized nor is it the best method. If you have any ideas to improve anything, let me know.
Please visit the site to get an idea of the data.
I have used Dan G. Switzer, II's calculation plugin [adding .sum() .max() .min() .avg()]
The validation requirement i'd like to have is to make...
Hi, I have been trying to extract the pager functionality from some javascript code to display some categories. This would allow me to re-use the same logic. I have the following click event wired up for when the first page link is clicked:
$('.first-page').click(function(e) {
e.preventDefault();
displayCategories(1);
});
As ...
Hi,
I use to render data using EntityDataSource, and I use to store customer image as byte in database, the problem is how can I convert that byte to base64 on .aspx page itself to use it as image src, is there any way to do this in javascript.
...
I'm currently using Pubnub, but i'll probably exceed the free quota. Is there any free js push service with a high quota?
The app i'm developing is for a not-for-profit crowdbased service dedicated to monitor candidates' abuses in the brazilian political campaign this year.
(Sorry if i'm not making any sense, i'm very sleepy and caffein...
I would really love to make a left menu like apples shopping-cart.
What's unique is that it stays static while you scoll down but don't move over header, when you go back to top. And there is no easing (which take too much attention).
I allready use mootools on the site, so if the solution is adaptable to mootools...I'll give a hug :-)
...
Hello. I am programming a desktop application in Delphi. So far I've been using TWebBrowser component for 1) loading a page completely and 2) THEN sending Javascript to it (Webbrowser.Navigate('javascript: join_game()')
But I don't really like that, because I have to wait for the TWebBrowser to completely load the page. I don't use it f...
how can i select all checkbox when i click header checkbox?
By javascript? How?
And can i do that in easier method?
thanks:D
run.html
<form name="form" method="post" action="/home/{{build}}/">
<br>
<input type="submit" value="Delete" style="margin-left:149px; width:80px; height:30px">
<input type="hidden" name="build_id" value="{{build...
Hello,
I'm hopping that around the community of js developers we can have a consensus around this:
Should we declare or onclick, onkeyup... etc... events inside or outside our HTML document?
1) I do prefer to have them separate. True.
2) I'm also aware that HTML5 adds some new interactive elements on the game...
Regards,
MEM
...
I'm currently trying setting up a little site that pulls in sets from flickr using JavaScript and JSON. It is all working fine except that the order of the photos on the site differs from that of the set on Flickr. I've searched this extensively for a solution, but have had no luck. Has anyone had this issue before? and/or know of a solu...
I have a web application that:
1. Is an iframe (it appears in multiple places, e.g facebook).
2. Has modals in it (I'm using jqmodal).
3. Has a vertical scrollbar.
The problem is that when a modal is opened from a link at the bottom of my page, the modal appears at the top of my page, so the user has to scroll upwards in order to see th...
var markersArray = new Array();
function clearOverlays(){
if(markersArray){
for (i in markersArray) {
markersArray[i].setMap(null);
}
}
}
this is pretty much copied off the google maps v3 documentation... but it doesn't work. :/
this is where the function is implemented:
function TCGetLatLo...
I have <li> elements in my document such as:
<li id="123" onMouseOver="foo();">Lorem Ipsum ...
I would like to remove the attributes and get the string <li>Lorem Ipsum .... In order to do that, I use the replace() method:
foo = document.getElementById('bar');
alert(foo.innerHTML.replace('<li(.*)', '<li>'));
But it won't match and r...
How do I debug, like console.log(); the Preferences Page of the Extension? Thanks
...
Can I add individual buttons?
I would like to give the user control, but not too much control so I need to enable some buttons but disable others.
Can this be done?
...
Been stuck on this for the last hour. It was working fine a while ago and I can't tell what's causing it to abort... It works fine in IE and Chrome.
Here's my code:
http://pastebin.com/Su1y2TTZ
Does not get past line 10 in FF, and shows no errors. The getvalue.js file starts on line 125.
Need some urgent help... Any ideas?
...
Hi All,
If I open this .JS file (link text) in Browser I get back following in browser window:
var PHONE_CNT=2;var PHONE_CNT2=0;var PHONE_CNT3=0;var EMAIL_CNT=2;var SHOW_CNT=1795;var PH_c="";var PH_1=0;var PH_2=0;var PH_3=0;
PH_1 = "JUQyJUFCJThDJUM5JThFJUQzJTgzeSVDMiVEQyVCQ2ElQkUlREQlQzglOUUlOTR6JUE2bSVCN3ElOUIlRTglQzQlQkYlODUlRDklQjIl...
problem: on ff the form submits to the original window which causes a refresh. on ie and chrome works fine but after the upload somehow the form's target attribute was set to "_blank"
the form just won't submit to the iframe transport, i checked the target attribute and everything and all goes find, even rollback to the previous working...