Are there anyway to disable a DIV ( or something look like this ) to prevent user from doing anything on in with Javascript ?
Hi,
I have dropdown,
<asp:dropdownlist id="Lst_Town" runat="server" onchange="fillCountry(this.selectedIndex);" ></asp:dropdownlist>
The dropdown is assigned as follwoing,
DataTextFiel...
Hi all....
I need a script that will, onKeyUp, remove/prevent carriage returns 'chr(13)', line feeds 'chr(10), and multiple spaces in a text area. When a user is typing into the text area a...
Hi All,
I have this code with me (I got it from some website, do not remember now) which expand / collapse table rows. I want to add + / - image before it and switch it depending on if it is ...
I have a drop down menu that i created in dreamweaver. I would the menu to change the value of a textbox on my form rather that go to a new page. How can I do this with javascript. I have p...
Hello,
Iam a novice in Javascript and struggling to achieve the following.
I have a repeater control inside which I have a table structure as follows
<asp:Repeater ID="rptQuestions" r...
I have a select tag which populates all the countries. What I need is that when United states is selected it executes a javascript which basically populates the states drop down.
I tried pu...
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 ...
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 need to make an option in a SELECT Box selected with an onlick event from an image. I know the value of the select box option but not it's position in the list. I have been playing around wi...
Hi guys
how can i cast float value into integer in javascript
Any help will be greatly appreciated
Hello
I want to make something like this
I have a webpage (index.html)
When i want to close the webpage (press x from up corner :-) i want to appear a dialog message
are you sure to close ...
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=" + $("...
(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...
Hi
Whats the easiest way to enlarge an image on a page when a user's mouse moves over it. Ideally I would like the enlarged image to hover over the existing page as opposed to being displa...
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
Hello experts, I have a javascript function that fires when a user enters a key into a textfield. I want to be able to execute some script when either enter or tab is pressed and it doesnt wo...
Looking for DateDiff Function in JavaScript
Dan A.
I have JSP page which has a form with text fields and checkboxes. These fields are displayed by applying XSL on an XML.
There is also is submit button in the form. This button is coded for ...
I am using asp.Net with an Iframe. I want to implement OnTextChanged event in javascript.
Onclick from the span works, but not OnTextChanged.
I only want the confirm or alert when the c...
I have a javascrip function which opens a popup window. The popup is a form to insert new record in database. When form is submitted, I need that window to close and its parent window to refre...
How can I write code in Javascript to check whether the given string ends with a specific string?
For eg: Check whether 'Responsibility' ends with 'ity'
Thanks,
Hello experts,
I'm using the Internet Explorer and want to detect the above mentioned information.
Currently I detect the top and left of the current window as follows:
var mytop = se...
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 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 ...