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?
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 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...
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...
Dear all experts!
This is a Firefox related question.
Can someone show me how to dynamically add a keydown event to the iframe in the code below, so that the updateTa() function is execu...
Is it possible to call javascript function on event button click. Here is my C# code which doesn't work:
protected void btnOK_Click(object sender, EventArgs e) {
Page.Validat...
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...
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...
Okay I have this popover we want to use on our site where it will show a div in the center of the window...
Currently my code to position the div looks like this.....
var IpopTop = ...
I am trying to store an integer value in a cookie. the cookie code i have only uses strings, as i think it has to. so when i am given the value from a cookie, as a string, i need to change it ...
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...
Hi,
I have a select box where a user can pick something. One of the selections is "Revert" which I want to throw up an alert asking the user if he really wants to do this. I know with <in...
Hi,
Just a quick question I need to find if a string contains a particular string of characters and set the value of a form field based on the result so something like:
if instr(myvariab...
Hi ,
I had a criteria in my web page i have 2 allow the user to enter any decimal value with (20,4) size and i need to sum such a 4 values , so i tried with parseFloat() ,but as of the value...
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...
I have a drop down box ...
When the enduser selects something from this box, I need the focus to go to two radio buttons and require them to choose one of them...
and I need the radio butt...
I want upload a file from web with the browse. But before that, I could like to check for the file size. If the file size greater than then allowed limit, then alert will prompt to user.
So...
i have a 2 select boxes
1 selectbox for the "country"
1 selectbox for the "county"
when user selects a country, the second selectbox is populated with that countries countys
this al...
hi experts...
need help in my below code:
<input name="txtFreeSearch" type="text" id="txtFreeSearch"
onkeyup="if (typeof document.all[arguments['txtZipCode']] != 'undefined')
{ var...
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 two questions regarding the Modal window( I am using MSIE 7.0)
1. How to disable the Close(X) button in a Modal window?
2. How to manipulate the dialogbox window text and buttons, w...
Hi X-perts,
I need a simple script to validate user's unput of date & time with some mask. It should check input of nymbers only and give a slash prompt, when input is correct. have found ...
I have an HTML listbox in an ASP page in which users can select one or more values, as follows:
<select class='cInput' name="listbox" size=5 multiple STYLE='width:300px;'>
On submit a Ja...
This is my first(ish) attempt at JS. Here is my page:
http://tinyurl.com/2enxjv
If you take a look at the section with the google map, above that is a series of links (map, tags, nearby, n...
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...