Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

January 17 2012

09:48

Max from sbooth.org

If you would like to convert your audio from one format to another, Max can read and write audio files in over 20 compressed and uncompressed formats at almost all sample rates and and in most sample sizes.

January 20 2011

13:41

Jquery Multiple Form Validate Problems

I have 2 forms to validate, but the second post button always checks the 1st form... I want to have 1 post validating 1 form, how can i do it with jquery?? I would appreciate for any help~

function validateForm() { var name=document.forms["replyform"]["name"].value if (name==null || name=="") { alert("Name is required.") return false; } var message=document.forms["replyform"]["message"].value if (message==null || message=="") { alert("message is required."); return false; } }
<form id="form" name="replyform" method="post" onsubmit="return validateForm()" >       
<table>      
<tr class="mb_top_body_content2">
    <td align="left"><b>NAME</b></td><td  ><input type="text" name="name" value="" id="name"></td> 
</tr> 

<tr>
    <td align="left" ><b>MESSAGE</b></td><td> <textarea id="message" name="message"></textarea></td> 
    <td><input name="button" type="submit" value="POST" /></td>     
</tr>       
</table>
</form> 

<form id="form" name="replyform" method="post" onsubmit="return validateForm()" >       
<table>      
<tr class="mb_top_body_content2">
    <td align="left"><b>NAME</b></td><td  ><input type="text" name="name" value="" id="name"></td> 
</tr> 

<tr>
    <td align="left" ><b>MESSAGE</b></td><td> <textarea id="message" name="message"></textarea></td> 
    <td><input name="button" type="submit" value="POST" /></td>     
</tr>       
</table>
</form> 
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl