Top add

Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Simple Bytes,MegaBytes,Kilo bytes calculator


Simple tool to calculate bytes,Megabytes,Kilobytes



1 Byte = 8 Bit

1 Kilobyte = 1024 Bytes

1 Megabyte = 1048576 Bytes

1 Gigabyte = 1073741824 Bytes

jQuery’s serialize method?

All elements are retrieved in standard URL retrieval  method. Jquery has a option to serialize all the post values that are sent in form action.

Example :

<form action="#" id="input_form">
First name: <input name="first_name" type="text" />
Last name: <input name="last_name" type="text" />
Email: <input name="email" type="text" />
<input name="submit" type="submit" value="send" />
</form>

All the values that are submitted are retrieved using the jquery function $(this).serialize();

eg: var query_srting = $(this).serialize();