Aspxcombobox populating on the fly works fine with IE, but with others browsers, when using arrow keys for navigation, the second depended control, always has value for the first next and not for the current, so I have a bit of delay ...
...
I have an image loaded by JS on a mouse event. It's a fairly big image so I want to make sure it gets pre-loaded. I reemmber some old techniques from years ago and found this example:
<SCRIPT LANGUAGE = JAVASCRIPT>
if (document.images)
{
img1 = new Image();
img2 = new Image();
img1.src = "imageName1.gif";
img2.src = "imageN...
Hello,
My site heavily depends upon javascript and if i turn off javascript my website looks real ugly. I want to force user and show him notification to turn on javascript else prompt him that site can't be viewed. What do i do to achieve this?
...
Hi,
I tried to write a function on a js file and another function with the same name in the page.I expected an error but no error came and i got only the function from the js file to execute.How is this possible.Even if i write a function in a separate js file,everything is rendered in a single html file.Then how come it is possible
<sc...
Hi Guys,
I must be missing something fundamental, but for the life of me cant work it out.
the idea is when u click that click event is then unbind. Also to note the alert('test') is not firing.
$(document).ready(function() {
$('#menu .cat-item a').each( function() {
$(this).bind('click',hide).unbind('click',hide);
});
});...
I need to execute a bunch of asynchronous methods (client SQLite database), and call only one final callback.
Of course, the ugly way is:
execAll : function(callBack) {
asynch1(function() {
asynch2(function() {
...
asynchN(function() {
callBack();
}...
I have found many ways to measure width and to truncate text using jquery, but I can't find one based on height.
I am limited to two lines of text or it will knock my design out of canter.
So does anyone know a method of limiting a paragraph to two lines high, tuncating it and adding an elipse ?
...
Hello,
I'm trying to include some javascript code inside a template.
The code of my html page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
...
I need to get the title of a remote page by URL. The code works in FFX, but not chrome. Anyone have any ideas?
$(document).ready(function(){
$("title").remove();
$("head").load("http://www.latentmotion.com title");
});
...
I have a Ajax workflow where i read JSON string of length 10,000 - 50,000 in length. Now function i am using for parsing JSON into javascript Object is throwing exception and failing to execute the statement.
Is there some kind on limit on json string that can be parsed, or eval can execute ?
I have tried
YUI JSON utility to parse an...
Hi All,
i am haveing some problems with JSON and arrays. I have been messing around with JSON for a little while and am trying to use some in production by refactoring a old implementation. What i had was two hidden textfields, one store ids in the format [1][2][3] etc and the other name [name1][name2][name3] so i thought this would b...
I recently found out about the sproutcore and capuccino frameworks for web app development as proper MVC approach to creating Desktop-like applications.
As far as I could understand, the main difference between the two frameworks is that Cappucino abstracts away the HTML+CSS+Javascript to Objective-J - a new programming language develo...
Hi,
I am using the following plug in for cookies in jQuery:
https://code.google.com/p/cookies/
The issue i am having is not with the plugin but when and how to delete the cookie at the end of a quoting process.
The site i am using this on is a six step online quote and buy process.
There is Omniture event serialisation sitestat trac...
I'm developing a Flash app that saves files to the Azure Blob Storage API.
I've learned that you should use the REST API directly rather than a go-between WCF service as this is the most efficient (using a web role is a bottleneck).
The problem is that Flash can't do PUT or DELETE methods over Http and has to use external Javascript.
...
How to send http headers with the help of javascript?
...
Hi,
I'm looking for an e-book reader/displayer similar to the technology used at flashpage (http://www.flashpageflip.com/Online-Demo.asp) but in Javascript?
Any ideas/links much appriciated!
Thanks
...
I'm starting to learn strophe library usage and when i use addHandler to parse response it seems to read only first node of xml response so when i receive a xml like that :
<body xmlns='http://jabber.org/protocol/httpbind'>
<presence xmlns='jabber:client' from='test2@localhost' to='test2@localhost' type='avaliable' id='5593:sendIQ'...
As you understand from the title above, I have a datatable and checkboxes in each row.
I want to enable a button when at least one checkbox is selected, and disable it when there is no selected checkboxes (I mean all of them is unselected). I could achieve this as like if one of the checkboxes is selected, the button becomes enable. How...
How does one create a native app (windows, mac, or linux) that has the similar characteristics of a web app? I'm looking at 'dynamic' updates every time the app is launched by getting the code to run elsewhere (similar to rich web apps with javascript). It must retain the native gui however, with the behaviors/conventions expected in the...
Outside of a for I declare a variable using var list;. I use this variable inside of my for loop like so:
// add the html to the list
if (list == undefined)
list = item;
else
list.append(item.contents());
item is a cloned jquery object build from a $('list_template').clone(); call (list_template is a div with <li> elements in...