my website form [help] 12-12-2012, 10:56 AM
#1
Guys i was trying to make a form for my friend's website, and i just couldn't make it functional. Form is all good, but i cannot make it process the javascript code (onclick event on submit button) ( Javascript code which it's supposed to display form entry to the other page so administrator can see it.)
Here's javascript code.. Just so you can see what's word about
When i submit my form entry, the page on which it's supposed to display the variable "rezervacija" nothing shows up. ( That page got only one line of code <div> with id of: cwrequest
I would really appreciate if someone who knows javascript & html to help me out make this form functional.
If you can help me please PM me ( there i will provide you more info, everything you ask)
thanks :wub:
Here's javascript code.. Just so you can see what's word about
Code:
<script language="JavaScript">
function processing() {
var klan = document.form_23456869121357.q4_imeKlana.value;
var rezervacija = 'div>Ime klana: '+ klan + '</div';
document.getElementById("cwrequest").innerHTML += rezervacija;
}When i submit my form entry, the page on which it's supposed to display the variable "rezervacija" nothing shows up. ( That page got only one line of code <div> with id of: cwrequest
I would really appreciate if someone who knows javascript & html to help me out make this form functional.
If you can help me please PM me ( there i will provide you more info, everything you ask)
thanks :wub:
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)
![[Image: fow57.jpg]](http://i.imgur.com/fow57.jpg)
