How to refresh javascript variables before ajax sends data.

Printable View