hi,
i am using asp.net ajax tab container[ which has 2 tab panel]
under each tab panel i have an div tag. now by default.i have my Activetabindex="0"
now i need to enable css property for the div tag using javscript so that there is no post back happening. i doing like this css property for the tab panel 1 is not getting applied...
I have the following setup
"<form name=\"mylimit\" style=\"float:left\">
<select name=\"limiter\" onChange=\"limit()\">
<option selected=\"selected\"> </option>"; ...
I wrote a js script to access the selected value of the selectField 'limiter' like so:
var w = document.mylimit.limiter.selectedIn...
Hi,
I have two list on my request on jsp. First one is productGroupName, and the second is products.
Now, I show these like below.
<html:form action="/priceOrder"> <table width="100%" id="tableStyle" style="font: message-box;padding: 20px;">
<logic:iterate id="productGroups" name="productGroup">
<tr>
<td>
...
How can I make custom UI controls for the QuickTime Player in HTML pages? (like Apple does on its site)
...
hi all
I wanna to get the query string of a page within a JavaScript block.
for example:
The page has a URL like localhost:1234/Test/page1.aspx?ID=10
How can I get '10' with JavaScript?
...
Hi,
I need to display images with rounded corner. Long time back I saw a website doing this using a javascript library that overlayed the rounded corner image over the normal image.
Do we have any javascript library (preferably jQuery plugin) to do this directly to img tags rather than usijg image as background for a div?
...
I am working around AJAX for few months now and i see Ajax request as following,
Pass parameters to background page (PHP/ASP/HTML/TXT/XML ... what else can be here?)
Do some processing on server
Get back the results and show to client (HTML/XML/JSON ... what else can be here?)
If there is something else to add on Request lifecycle ...
I am looking for an equivalent to the php.net manual (http://us3.php.net/manual/en/) but for javaScript methods and syntax.
Is there a single site that lists out all the javaScript functions available in a clear and concise manner as php.net provides for the PHP language?
...
I can do this in JS, but I'm beginning to use JQuery and would prefer to develop skills for that.
I have a reminder message [#CheckboxReminder] "Tick this checkbox to indicate you have checked your data".
I then want to hide the reminder message when the checkbox [#IsConfirmed] is ticked, and restore it to original state if it is then ...
I have a form in which there are textbox(s) added dynamically using jquery.
The textbox ids is formed as an array, i.e. Quantity[0], Quantity[1], Quantity[2] ...
I want to add the numbers in these textbox(s) and display the value in another textbox named "total_quantity" preferably when the focus is shifted out of the array textbox.
Ho...
This is my code, SetOpacity get invoked with wrong values, why?
function SetOpacity(eID, opacity){
eID.style.opacity = opacity / 100;
eID.style.filter = 'alpha(opacity=' + opacity + ')';
}
function fade(eID, startOpacity, endOpacity){
var timer = 0;
if (startOpacity < endOpacity) {
for ...
I'd like to get a javascript numeric representation for a letter to do some relative manipulation i.e. in pseudocode to conduct an operation like 'a'.getNumberRep - 'b'.getNumberRep.
Best way to do this in js?
...
The select() method only seems to work with textareas and input spaces, and I don't know javascript very well, so I'm not coming up with any solutions. Does anyone know how to highlight everything in a pre box when you click on it?
What I'm trying to do is make it so a visitor can easily highlight everything in the pre so they can then...
I'm writing some scripts that are using the HTML 5 file API in FireFox 3.6. I got some deflated (compressed) files, and I need to inflate (uncompress) them.
I found a few scripts while googling, but none of them have tests. So I'm a bit reluctant to use them.
My question is: Browsers can inflate. Can I somehow piggyback on the inflatio...
Hi,
I'm currently redesigning my website and have been looking into using JavaScript and jQuery. Here is what I have so far: http://www.tedwinder.co.uk/gallery2/.
My vision is to have all of the photos on one page, which the user can scroll through, like now. However, I understand the limitations and effects of having 50+ large-ish ima...
This is my pagination script and i wonder why im getting these errors in IE :
function GetXmlHttpObject(){
var a;
try{
a=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(d){
try{
a=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(c)
{a=false;}
}
if(!a&&typeof XMLHttpRequest!="undefined")
{
try{
...
Items are stored with x,y coordinates. The .items div starts at [0,0] and is repositioned based on movement of .dragger (which is made draggable). Everytime the user stops dragging / releases, .dragger is repositioned to the center of the screen, and an AJAX request is made which places the next x/y coordinated items which are in the cur...
i'm developing a simple web quiz.
Using javascript, i would like to create an effect that displays a small image (1UP) that wanders around the "game deck" when users reach a specific level or score; user could gain an extra life simply clicking on it in time.
Do you know any Jquery plugin or javascript snippet to achieve an effect like t...
Hello,
I have the following code in a script.
The problem is That I want to get information of scripts that starts in a specific name and are in a specific startmode.
var e = new Enumerator(GetObject("winmgmts:").InstancesOf("Win32_Service"))
var WSHShell = new ActiveXObject ("WScript.Shell");
var strPrefix = "TTTT";
for(;!e.atEnd(...
We currently have a message option on our site that displays any message we add via the CMS to logged in users, but what would be the best way to offer a 'hide' option? This way if that particular user doesn't want to see the message again they could hide it? Any suggestions welcome...
...