Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested JavaScript Solutions: 126 - 150 of 9165
 
Hi All,   currently I'm using this command" <div OnClick="window.open('/process/enterprise/training/change_index.shtml')">blah blah</div> It works form me but, it opens a new window. ...
I have a text input field (called "buyAmount") in a form. When the Submit button is clicked, I want to set the field to readonly, so that the user will not be able to change anything. This is ...
Hi all, I think this should be simple. I just can't get getElementById to work for radio buttons - no error is given if I do getElementById("radiogroupname"), but then I don't know how t...
I have a string  str="234,555,456,222,666," Please don't use regular expressions... If I remove any value then the final result of string should seperated values with ','.  1) First...
I have a javascript shopping cart, which uses overflow:auto to add vertical scrollbars after the user has added so many items to their cart. 1. How do I use javascript to move the scrollbar...
My question is this; How can I remove an Element (COMPLETELY, not just set innerHTML to nothing.) using DOM. The code looks sorta like this: <div id='div_container'> <table id='table...
Hello, i have a link on my webpage, when clicked, I would like a pop-up div to appear as modal, but not as a window. The backpage should become transparent black 60% and the user cannot access...
F=Greetings all I am trying to manipulate the JavaScript PostBack, in order to set a field value. My problem lies in the __doPostback call, in the JavaScript, as when I remove that line, th...
I use a modal dialog in Javascript to create a "pop up dialog" that gets some data from the end user, using the following code: function PopUp(url) {      if (window.showModalDialog) ...
My current page launches a small popup where information can be edited via a few text inputs. After the info is updated, the window reloads and shows a message along with a "close window" link...
Experts, I have a check box that i want when i click on it, it shows my html table. I need to do this on client side. I have written the following but i don't know how to pass a parameter t...
Having some troubles getting my parent window to refresh.  Any suggestions? User visits page, clicks on link <a class="hidden" href="#" onclick="javascript:window.open('https://www.example...
There doesn't seem to be a .childNode function built into javascript.  So, what is the easiest way to access child elements?  If I have a <div>, and I want to access a child <img>, is there a ...
Trying to convert string with leading 0 to number and it doesn't work ie: var test = '08'; var value = parseInt(test); I wan't 08 I currently get it to work like this, but there must...
what I am trying to accomplish is to gather the input from this form and display that input on another html page using javascript. I don't want use asp. this is part of my form <html> ...
Hi, I'm having trouble getting the value of a form element using javascript. The form is placed within an iframe and the javascript that is trying to get the form data is placed on the page...
I know this question has been answered, but I can't view the solution since I terminated my subscription to premium services. I searched in the JavaScript Area for "minimize remove" - the s...
I know it's possible to invoke the print dialog on IE 6 and Moz 6 with window.print().  Is it possible to invoke the "print preview" feature?  I tried window.printPreview(), but it didn't work...
Hi experts, Just a quick question; how would i do this in javascript: (VB Code) label.text = "Your name is " & IIF(UserID = 1,"bob","jeff") & " more writing..." Thanks for your help!
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...
Hi I am getting an error in IE 7 only and it doesnt move.  It works in Firefox. It's complaining about this line: var myTicker = new Ticker('newsticker',{toggleButton:'toggle'}); Ca...
Ok... this is a little tricky! I need a code that would allow user to input a value and as he/she types the number it should automatically insert commas and decimal points for examlpe: ...
Hi, I want to clear my browser's history. (prevent back after logout). I'm using the line: <A HREF="javascript:location.replace('nextpage.html')">Advance</A> It works great on netscape,...
Hello, I seem to have a problem which I've been trying to figure out for a few days now. I have some code that works perfect in IE, but I need to make it work also in firefox, so I ran up wi...
The following code will add and remove table rows. However it is only working in Iexplorer. How to make it work in Netscape/ Mozilla also (Would be nice if it should work in Opera also)? ...