This is a crossbrowser window.onload script, I want to add a message, when the page loads (<div id="message">Loading, please wait</div>), and it must disappear when page finished loading. How can I do that? Please help.
function init() {
if (arguments.callee.done) return;
arguments.callee.done = true;
};
if (document.addEventLi...
I'm busy experimenting with TiddlyWiki and trying to get it to run on my Nokia E51, which uses S60v3. The browser is based on webkit, which should mean that I'd be able to get it to work, but no luck so far.
Does anyone have any experience with saving files locally on this platform?
...
Hi,
I have a problem with a javascript set of functions that I made.
This functions walk the entire Html page and then add the onclick event to every anchor it finds.
It do some check on the anchor href and redirect to it (using window.location.href)
My problem is that the cronology don't work properly this way, and the :visited sele...
So what's your best advice for someone who knows application side development (C++/C#) and wants to start developing web applications and websites?
What languages should i start with? (php/javascript/other)
What kind of tips do you have for me?
...
Hi,
a webservice returns some data to me. The data is actually just raw HTML (so no XML header, or tags around it, but just a piece of html).
<div class="Workorders">
<div id="woo_9142" class="Workorder">
<span class="Workorder">S1005</span>
<span class="Pn">30-2</span>
<span class="Description">Cooling Fa...
Hi All,
As we all know Javascript is a client side language , means code runs on client side and not on server side.Now what I want to know is that then how come getDate() retrives the server side value.
var myDate = new Date();
alert(myDate.getDate());//return current date.
...
The object could be simple, a rect or circle. But the path should be a bezier curve. Please provide javascript/Raphael code if not too much trouble.
It will be nice if there is trailing effect of the moving object during annimation.
Thanks,
...
I know everyone who reads the question will think "Firebug!" right away. Maybe some will think "YSlow!" and "Google Page Speed!"
While I really like these tools, I'm more concerned with how the quickly the page will render in IE 6/7/8. All of the above tools require Firefox. That's all fine and you can definitely test the underlying spe...
Hi
We feed JWplayer with an external playlist, and have an external button to shuffle this play list. I would like to move this button into the JWplayer control bar itself.
I'm not a developer, I'm a designer - but, thanks to a link found on the JWplayer support forum I have been able to add a custom button to the control bar - via t...
Here's the code I'm using. I can't seem to see where the problem is - its meant to upload multiple files at out ones. The funny thing is that some times it uploads just one file, and then won't upload anything.
Can someone help me look into it please..
<pre><code>
<?php
/*** the upload directory ***/
$upload_dir= './uploads';
/*** nu...
I'm really bad at Javascript and I'm struggling to get my head round it.
What I'm trying to do is get something to select all checkboxes. However everything I have found tries to do it by name, I want to do it by ID or class. Select all by name is just inpractical isn't it?
...
Hi,
I'm not sure if I have the correct terms above, but what I'm trying to do is call a Javascript function passing parameters into it from an Excel File, so the function will run and list the items in the next textbox, allowing me to choose the correct entry in that textbox, which then chooses the final box.
Here is the code that I hav...
Basically two parts of the question.
How to put explanatory text inside textboxes in a form (like writing e-mail in the text area of a text box in a form) with styles (i.e. greyed out so that meant to suggest) like on facebook homepage.
How to put cursor focus on a particular form-field as soon as the page loads (like google sign-in or...
I have looked up the following article before making this post but my scenario is a little different
http://stackoverflow.com/questions/587350/how-do-i-get-intellisense-for-wcf-ajax-services
I also have the patch applied to VS2008 and have jquery intellisense working.
In my solution, the WCF service is actually not inside the ASP.NET ...
How do I bring up an absolute div on an "action" in jQuery?
What I want is similar to reddit or digg, when you try to vote without logging in, it will prompt you to log in or register.
Thanks.
...
I am reading "Javascript The Definitive Guide". In this book, Events and Event handling, there are three event-handling models, the original event model, the standard event model and Internet explorer event model.
It says upto IE6 it uses Internet explorer event model.
I am wondering if IE7 and 8 still uses it.
Or does it use the stand...
I have a table in HTML which I am generating from XML/XSL and I want it to suppress repeating values. However, I also want to sort it on the fly by clicking the titles.
Without a round trip to the server I need to suppress different values after each sort. Is there a good javascript/css solution.
For example
Data
Date Person Score ...
I use this code for creating Summary of the Blog Posts at my blog Gadgetcage.com, In this JS code HTML tags are disabled by the author, I would like to remove that disabling HTML tag function in this Code. Please help me!!
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var...
I have an HTML page and and external JavaScript file.
How do I access the value of an input tag from the HTML page in JavaScript? My HTML is as follows:
<form name="formxml">
<input type="text" name="xmlname"/>
<input type="submit" value="Click me please" onclick="loadxml()"/>
</form>
In the Javascript file, I was trying:
var name =...
Hello,
I have big problem i want to extract text from html table that contains inputs, raw text, href, and display in new window clean html table with only text
SAMPLE INPUT
<TABLE id="test">
<TBODY>
<TR>
<TD>TEXT 1</TD>
<TD><a href="/questions">TEXT 2</a></TD>
<TD><input type="text" value="TEXT 3" ></TD>
</TR>
</TBODY>
</TABLE>
ma...