Advertisement

Over 40 Experts attended the first Annual Core Conference! Take a look at what happened throughout the week...

2008 Core Conference

 

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

 
Time Tested JavaScript Solutions: 101 - 125 of 7183
 
I am trying to send the innerhtml of an iframe through this ajax call $.ajax({type: "GET", url: "pricecalc.aspx", data: "ratetype=4&ratedays=1&ratevalue=1&rateimage=0&ratebold=0&rte=" + $("...
Hi We want to open url in new tab (IE7) using javascript.  It works by modifying IE7.Tools.InternetOptions.TabSettings.Always Open Pop Ups in New Tab. However without this, it does not work. ...
I have a Javascript print preview which works wonderfully in IE.  I get this Javascript error when I try to run it in Firefox.  I would like to get it working in firefox or another script whic...
Hello, I've discovered that it seems impossible to detect the true width and height of a browser window in IE 6 (6.0.2600.0000IC to be ridiculously exact) with an XHTML document.  The code ...
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...
Hi all, Ok I want a popup window to happen when a certain div loads NOT when the page loads (the divs that are shown are conditional). Basically the onLoad cod I have works fine when added ...
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...
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...
Hi everyboady, I need to populate a select element (in a form) with options dynamically using a recordset to provide the values and text for the options. Anybody could help me in this as soon...
how can i do that? i need just like in VB : trim(str) e.
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
I need a function for avoid the user going back in the history. The ideal can be an equivalent to history.clear, this way the visible page would be the only and the back doesn't work. I ca...
Hi there I am new to javascript and am have a bit of trouble with this script I am trying to write basicly I have a div with a image holder in it when I call the drawDiv fuction the d...
Hi, simple question how do you grab the value of an http param from the page's url?
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 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...
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) ...
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...
I'm trying to find how to simply fade-in or slide-in an image on page load using scriptaculous/prototype (avoid using flash for such a simple requirement)- I'm sure there is probably a ver...
I have a javascript in my html page: <script type="text/javascript">      function confirm_exit() { if (confirm("Do you want to save changes?")==true)      return true; else      return false; }...
I have a need to have text go between a textarea and a div and a database To get from the database to the screen I replace \r\n with <br> and it is displayed in the div From javascript I...
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 ...
I'm trying to show/hide content on a page. The functions I've got are working fine in Firefox but not in Internet Explorer. init is called first to check browser. var what = null; var ne...
I have an iFrame which when called passed a replaces a <span> on the parent page with the <span> on the iFrame. this is the javascript I had and which works great with IE, this passes the <...
I want to create a javascript function that will add/subtract 1 day from a date string stored in a hidden field.  The format is 0000-00-00 (YYYY-MM-DD) So far I have....     function dateN...