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: 151 - 175 of 7183
 
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 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?
Does anybody have javascript functions handy that will take in a string and return the HTML encoded version of the string, and/or the other way around? I am writing a translation module, an...
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!
I'm trying to help a co-working who is using Java, Javascript, and .XSL , along with ApplinX to present legacy mainframe screens in a web browser.   He developed a very nice report (a heade...
I have this page: flanels.com/  And if you click logos and then a company it will slide, left/right. I am working on the menu thats why it is all down. I am wondering if there is a way to 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...
I would like to know how to get the outer HTML of a element. Code must work in NN, Moz and IE. here is what i have so far: var myEl = document.getElementById("myDiv"); // myDiv is "< div...
Hi, I am trying to parse an XML file in order to read data from the XML file.  I am using an Xpath expression in javascript in order to parse the XML file.  Everything works fine in INterne...
Experts, I am looking for an example or some links to help me in validating user input via JavaScript. (Yes I know that the best validation is server side, but using JavaScript creates a faste...
If a user clicks a link I want to display an Msgbox, depending of the users selection (yes, no or cancel), I want do redirect them to different locations. Is this possible with JavaScript? If ...
Hi. I am currently using prototype.js version 1.6.1 for ajax requests.  I need to upload files without refreshing the page.  Can this be done with prototype.js's ajax objects and methods?  ...
I'm a VB.NET developer for the most part, but I have this application used in my corporation that has a feature where you can create html forms and they post inside this application for record...
I have read through several examples on how to send a value to a new popup window, but everytime i try i either get 2 popup windows, or an error Element has no properties. What i'd like to ...
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...
Hello all, I am using the fopen() method in JavaScript to open a file. This works fine except if the file name contains a comma. It works for all other special characters I have tested. ...
Dear All, Does anybody know how to obtain the URL of the previous page visited under IE? I find that many window.history properties as below only support Netscape. window.history.curren...
Hello Folks, I am using jQuery append function to show "clear button"  on anchor onclick event, the problem is its adding the button every time i click on the anchor tag. is there anyway we c...
The code below is an ASP and AJAX it works fine with this code in Javascript "(xmlHttp.open("GET",url,true)" but when I change it to "xmlHttp.open("POST",url,true)", I get a blank page when...
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...
I have a webpage with this form:         <form METHOD=POST ACTION="/servlet/webacc" target="_top">             <td>                 <b>GroupWise WebAccess:</b>             </td>        ...
I have an ASP.NET application that is located on the server but is accessed from client machines. I need the application to retrieve computer name of the client computer that accesses the appl...
I am getting the height of my iframe using this code.  It loads the original page correctly but I have a  jumpMenu that loads other pages in the IFrame and when i select a new page it does not...
I have the following checkbox: <c:set var="value" value="${form.flagNpOrSp}"/> <input type="checkbox" name="flagNpOrSp" value="on" <c:if test="${value}">checked="checked" </c:if>  id="search...
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...