It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Massage alert

Massage alert

Postby afroz282004 on Wed Feb 25, 2009 9:50 am

Can anybody help me please.
In my application,there is one option in which the user can put some masage in "textare" and submit the button

I need script whenever user sbmit his massage it get poup massage alert.....
afroz282004
 
Posts: 1
Joined: Wed Feb 25, 2009 8:55 am

Re: Massage alert

Postby rangana on Thu Feb 26, 2009 3:23 pm

In its simpliest form:
Code: Select all
<textarea id="mytextarea">
This is the default value of the textarea
</textarea>
<br>
<input type="button" value="Submit" onclick="alert(document.getElementById('mytextarea').value);">
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Re: Massage alert

Postby Suffer on Sun Mar 01, 2009 3:34 pm

i thanks rangana too.
Suffer
100+ Club
 
Posts: 236
Joined: Tue Jan 20, 2009 6:34 am


Who is online

Users browsing this forum: No registered users and 6 guests