I have a control application - using asp.net webservices.
I have a timer which does an asynchronous webservice call every 5 seconds to update the screen.There are also user buttons to refresh parts of the screen, also doing async webservice calls.
The issue is my screen get messy if a user webservice command is issued before the timer ...
I'm developing an editing component (iframe-based) in JQuery.
My intention is to make it easy to extend the functionality of the editor through plug-ins. So for example, you might make a plug-in that puts wavy underlines underneath spelling mistakes, or allows images to be inserted, etc.
I'm happy to work out the technicalities of this...
I need to calculate a top position for an element of variable height, so I was thinking of doing the following:
Move the element 1000px off the top of the viewport
Set the element to display: block
Get the height of the element
Set the element to display: none
Continue on as if everything is normal and good
Does anyone see any pitfal...
I just happened to read jQuery Intellisense Updates from Microsoft and was wondering if there was any editor or eclipse plugin available which provides intellisense complete or code assist. Are there any?
...
for example
<script type="text/javascript" src="assets/scripts/somescript.php"></script>
will my browser still cache this just by not setting this scripts headers meta tag cache to must-revalidate?
...
Since the speed of the top Javascript engines seems to be on par, the next criteria is footprint. What are the code and data footprints of the leading javascript engines?
...
Yeah, sounds silly but I'm a designers and the site I'm working on is not working in CSSEdit. Which is bad for me, very bad. The site has a massive JS/Ajax client and works in all browsers, IE, Firefox and Safari that uses the same browser engine as CSSEdit!
Since MacRabbit has no customer service (they don't really answer email) this i...
Hello,
I want to create a compiled JavaScript file for my website. For development I would prefer to keep the JavaScript in separate files and just as part of my automated scripts concatenate the files into one and run the compressor over it.
My problem is that if I use the old DOS copy command it also puts in the EOF markers which ...
Hi folks,
I'm trying to load javascript code with a user web control into a page via a the Page.LoadControl method during an asyncron post back of an update panel.
I've tried the specially for that scenario designed methods of the scriptmanager, but the javascript just doens't get returned to the user.
To explain my scenario a bit bet...
I am trying to create a dialog box that will appear only if the browser selected is IE (any version) however I get this error:
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
That's all in "Line/Char/Code" 0 so I do not know where is the error. The code I'm us...
I have a web app that is heavily loaded in javascript and css. First time users log in it takes some time to load once it is downloading js etc. Then the caching will make everything faster.
I want my users to be aware of this loading time. How can I add some code to "show" some loading information while js and css are downloaded?
...
Hi friends,
I need to find out the position of the TR.
actually i got the index of the TD which is 291,
But i need to get the index of the TR contains the TD.
We can get the innerHTML by document.getElementsByTagName("td")[291].parentNode.innerHTML..
How to get the index of that parentNode i mean the TR..
Please help me
...
does anybody know any resources that I can refer to?
...
I have a PHP-generated page which is displaying some data about a set of films. The page is updated using POST. The form only shows films starting with a particular letter. I want to present a set of clickable options at the top of the screen, each of which is a letter. So if you click on "B" it submits the form and re-draws the page sho...
The monthRegex regular expression always returns true, even if dateInput is something like "December 1, 2008" by my thoughts it should match a regular expression by whichever key I pass into it. But that isn't what happens, it just returns true, and detects "JAN" as the month.
function dateFormat(dateInput) {
var formattedDate = ...
Hi,
I'm having a couple of problems with the JQuery tablesorter plugin. If you click on a column header, it should sort the data by this column, but there are a couple of problems:
The rows are not properly sorted (1, 1, 2183, 236)
The total row is included in the sort
Regarding (2), I can't easily move the total row to a table foot...
Hi,
I was trying to access swf from javascript, so this example in livedocs is what I'm trying to modify. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html#includeExamplesSummary
However,it is not working correctly for some reason. The problem I'm encountering
is that it does not work in Sa...
I've seen a couple web pages say that "a = b || 'blah'" should assign 'blah' to a if b is undefined or null. But if I type that into Firebug or use it in code, it complains that b is not defined, at list on FF3/win. Any hints?
Edit: I'm looking for the case where b may not exist at all. For example, a DOM node without an id.
...
I have a simple html page with a div. I am using jQuery to load the contents of an aspx app into the "content" div. Code looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="http://code.jquery.co...
I'm stumped and feeling stupid. I've tried every search combination I can think of to figure this out. It seems simple, but being new to javascript I'm not seeing anything helpful in my search for examples or demos.
I'm looking to use a script like I would a python or perl script to run a simple linux command. The interpreter is up and r...