I'm trying to, upon checking off a checkbox, enable/disable two radio buttons of the same group.
this is the onclick function thats called when a user checks off the checkbox:
function ...
Here's the deal. It may sound a bit complicated, but I hope you'll get this:
I have a div-tag (a) filled with text (my content).
I have a div-tag (b) containing a menu.
I want to change...
Hi,
I have this really annoying error. I have this page created in ASP and it uses Javascript a lot too. The problem is few times when i open that page i get a error dialog box with error me...
I have the following JS code which adds a new row to an existing HTML table:
function addRows(cid)
{
var tbody = document.getElementById(cid).getElementsByTagName("TBODY")[0];
var row ...
Hi,
iam writing an application in ASP.net. I have a textbox which is made readonly at page load time.In the page i have a drop down list. I want the textbox to be editable when i change the ...
I am currently attempting to use this regular expression in javascript:
var exp = /^(((ht|f)tp(s?))\:\/\/)?(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us...
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...
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...
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...
Is there a way I can get the ip address of the visitor at client side using Javascript and without depending on third-party services. The page is HTML and Javascript only. Please give me the d...
Anyone knows how to round up/truncate a float value to 2 decimal points
here is part of my javascript code:
totalAmount=totalAmount+parseFloat(document.FRM.<%="lineAmount"+line+"UI"%>.va...
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...
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 ...
I have this script, which works fine but has one issue.
I have 2 dropdowns that determine what DIV tag is showing. The first Dropdown shows one of 2 different dropdowns for the 2nd list....
I am createing an attendance management system for a school in PHP and have come into some trouble.
On the registers form, i have an array of drop down lists called "mark" and each ones ind...
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...
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...
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...
greetings,
i'm trying to write a function that i can pass a record ID to then pop a confirm box asking whether they really want to delete the record, if yes then window.location.replace th...
I have an ASP.net application which launches a popup window. I would like to close the popup window when the close button is clicked, and then refresh the parent so all the updated detals sh...
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...
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 ...
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 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...
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...