Already purchased the new Motorola Droid? We want to hear from you! Tell us what you think about it and Google's Android 2.0 software.

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested JavaScript Solutions: 51 - 75 of 9955
 
(Alert:  newbie crossing ahead!) How do I set value of an href in a link at onload?   I managed to piece together the code below (as part of a working page), but I'm out of clues beyond this...
I want to replace some value by some other value, like var main = "some vlaue here"; main = main.replace("abc", "xyz"); In the string main, i want to replace all occurrences of "abc" w...
Hi there I have a button and when clicked I want to change a session variable from the buttons javascripts onclick event handler. //my button code  <INPUT id="button1" type="button" val...
hi ,  how do i  validate a number and check to see if its a number(say between 0 and 10) and not a string or alphabet... thanks Jz
Hi, I'm starting out with JQUERY by building this sample app. http://82.165.250.104/Sandbox/jenni/jquery_playlist.htm The help I need is 1) The REMOVE function only works on the ...
I have a php script that creates a number of images in a table. Then i have a link that calls the following function. The function goes through and changes the images to different ones. fu...
How to compare 2 date using javascript? I have 1 text box to let user key in the date of birth (dd/mm/yyyy format). Now I need the user's age (round down) base on the birth of date, how to do...
How could you change a css class with javascript? E.g. <style type="text/css"> .blue{ background-color:blue; color: aliceblue; } </style> I would like to change the properties of th...
I have the following Javascript form. I want to send data / display using javascript throught HTTP POST method? Can I do that? How can I do that? Once the user clicks on SUBMIT button th...
Is there a way I can get the ip address of the visitor at client side using Javascript and without depending on third-party services. The page is HTML and Javascript only. Please give me the d...
How do I show/hide various HTML elements when selecting a radio button, or selecting an item from a SELECT OPTION? I need to be able to either show or hide the following: 1.  Entire HTML t...
I am looking to find a jquery script that creates a zoom of an image.  Similar to: http://www.magictoolbox.com/magiczoom_examples/ The internal zoom. I was hoping to find a jquery ver...
I have an ASP.net application which launches a popup window. I would like to close the popup window when the close button is clicked, and then refresh the parent so all the updated detals sh...
I am trying to perform the equivilent to this vb statement: Select case val    Case "a","b"        msgbox "go"     Case else        msgbox "nogo" End Select The trick is I DO NOT WA...
can i write custom confirm box in javascript.Instead of 'OK' and 'CANCEL' buttons i want to show 'YES' and 'NO' buttons. Is it possible to do that.If yes how?
I have a Javascript function that is passed an object corresponding to the <DIV> element that contains that last displayed submenu on the page. What I need to do is obtain the id of this <d...
I have a input and a label, I want to set the text of the label if they enter an invalid date. this is the code I am using . if (!IsDate($("input#EffectiveCostDate").val()))    {    ...
Is it possible to loop through the cells in a row using javascript?  I need to loop through all the given cells in a row and set certain css properties.  This is part of a mouseover script hen...
I am wondering if anyone here can help me with after GETTING my results via ajax using jQuery how to print them in say a span id with a class, and print them all out, I have this so far: ...
I am currently attempting to use this regular expression in javascript: var exp = /^(((ht|f)tp(s?))\:\/\/)?(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us...
I can access the numeric position of the last character in a string by using string.length,  but how do I access the actual value of that last character?  I can't seem to figure it out?
Hi, I am using ASP.NET 2.0 I have been trying to dynamically set an attribute using setAttribute() in a javaScript mehtod. Please, can someone show me an example of how to do this for in...
I am displaying query result in table format on html page. I want to put a button on the page, on clicking the button I want to export this table into .csv or excel file format on client side ...
Hi, I have dropdown, <asp:dropdownlist id="Lst_Town" runat="server" onchange="fillCountry(this.selectedIndex);" ></asp:dropdownlist> The dropdown is assigned as follwoing, DataTextFiel...
I am createing an attendance management system for a school in PHP and have come into some trouble. On the registers form, i have an array of drop down lists called "mark" and each ones ind...