I've searched around, and there doesn't seem to be a way to read remote RSS files via javascript... specifically in safari
This is more or less what i'm trying to do...
I've tried
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
or
xmlDoc = document.implementation.createDocument("","",null);
and then
xmlDoc.load('http://localhost/dr...
Hi all,
i want to run some code on all my treeView nodes depending on a value returned from the database and repeat this until a certain value is returned.
I was thinking that:
Give all my tree nodes the same css class so I can access them from JQuery
have a timer in my JQuery function that used ajax to go to the database, when a cer...
When writing a Javascript a function that I had gotten help from earlier, which gets the height of an element that is hidden, someone reffered me to the Prototype function getDimensions(). In the example, they set "visibility: hidden; position: absolute; display: block;", which effectively lets us measure what the clientHeight would be i...
Charles Simonyi introduced the idea of "organizing really big software teams by creating one super duper uber programmer writing the top-level functions, while handing off the implementation of the lower-level functions to a team of grunt junior-programmers as needed. They called this position program manager."
I want to know what are t...
I want to use JSTL's fmt tag in javascript to localize my alert messages.
My javascript file is a standalone file and when I include fmt tag in js file browser gives javascript errors, is it possible to treat .js file as .jsp file using web.xml configuration?
Can anyone please suggest me how can I do that?
...
Hey my webpage is having a checkbox where students have to select the modules they wish to select. Is it possible that I can update the total module credits selected live on the webpage when the student clicks on a checkbox? Or when the student clicks submit can I show a message like please select 60 credits?
...
I am working on a ASP.Net project creating a Outlook like calendar scheduler app.
I need to implement javascript on the webpages, but VS 2005 that I am using now is not very helpful, like intellisense or debugging,etc.. in case of javascript. I am planning to use jQuery in the app too.
Questions :
Is there some feature of VS 2005 th...
I'm trying to set the maxlength on input fields dynamically using JavaScript. Apparently that is a problem in IE, and I found part of the solution.
$("input#title").get(0).setAttribute("max_length", 25);
$("input#title").get(0).setAttribute(
"onkeypress",
"return limitMe(event, this)");
...
I'm working on an application that will run on Google AppEngine.
I plan to have the web interface of that application wait, among many other things, for notifications coming from the AppEngine server.
Ideally I would have liked to use an XMLHttpRequest() to make a request to the server that would be waiting until the next notification ...
Hi,
I'm using WinForms controls in IE. Something similar to this:
var MyControl = new ActiveXObject("MyComponent.MyControl")
and I want to be able to use prototype feature for MyControl.:
MyControl.prototype.newFunc = function(){alert('hi there');}
Is it possible at all? I thought about System.Runtime.InteropServices.Expando, but ...
What I have at the moment is a preview window that, when clicked on, hides to show a div containing an image gallery. However, it is an instant change over and i would prefer it to be smooth. The image gallery is the Smoothgallery. I have found a way to smoothly expand the div but this breaks the gallery. Since the gallery is based aroun...
Hi.
My JavaScript calender is working in IE but it is not working in Mozilla.
My code:
<table>
<tr style="height: 5px;">
<td>
<asp:TextBox ID="txtBorderedDate" runat="server" CssClass="TextBoxMandatory" Enabled="false"></asp:TextBox>
</td>
<td class="FieldButton_bg" style="height: 5px;">
<a onclick="javascr...
While using IE, its always asking me to start the active X controls. Is there any method or way to activate the Active X controls.
...
Hi I created a javascript function to check if the number of modules selected is greater than a given value. So each time a checkbox is called the function is called, and the function goes through all the checkboxes and calculates the total to see if it's greater. But the problem is when the user checks the checkbox and if the total cred...
What is the difference between for..in and for each..in statements in javascript?
Are there subtle difference that I don't know of or is it the same and every browser has a different name for it?
...
What are the best practices for doing DOM insertion?
Is it faster to insert large chunks of html vs element at a time in a loop?
Does it matter what html you are inserting, or only how big the chunk is?
It it faster to insert a table, vs inserting just the rows using the table hack?
Thanks
...
On one of pages we're currently working on users can change the background of the text displayed.
We would like to automatically alter the foreground colour to maintain reasonable contrast of the text.
We would also prefer the colour range to be discretionary. For example, if background is changing from white to black in 255 increment...
I have an XML file:
<root>
<foo>
<!--Content Here-->
</foo>
</root>
Now I want generate an HTML file from it. The HTML has two vertical frames. The left one displays the treeview of the XML file. And I want the right one display content of the tree view: when I click on the "foo" node, the content will be displayed on the righ...
On my submit button, what I'd like to do is OnClick show a "Please wait" panel and hide the button, UNLESS the validators say something's invalid - then I need the buttons still showing obviously. Otherwise I have a validation summary showing erros and no way to submit again.
Most articles I find about doing this want to use Page_Clien...
Background: I have a Silverlight Control in a sharepoint webpart that exposes some scriptable methods. I use those methods to call a webservice and get an array of menu options. These menu options are then injected into Sharepoint ECB menu which appears on clicking an item in a list.
The problem I am having is being able to get the cli...