jQuery $.post problem with emails -


I am trying to post form data in a lightbox via jQuery and php. There are only 3 field values ​​that I have to pass. I did not receive any errors while submitting, but not sending email. I'm seeing (via firebug) email addresses that are being entered in a text box (which are the addresses that send email addresses) instead of '@' being sent '% 40'. Has anyone experienced this or know why / how to fix this issue?
My jQuery function is as follows:

  $ ('Notify form'). Submit (function () {$ .post ('path / to / action / to / send / email', {id: $ ("# id"). Val (), client_reviews: $ ("# client_reviewers"). (), Client_reviewers_msg: $ ("#client_reviewers_msg") .val ()}, function () {tb_remove (); $ ('# client_reviewers'). Val (''); $ ('# client_reviewers_msg'). Val ( '');}); Return false;  

});

Thank you in advance for any help

What are you looking at.

Basically, @ is a special character in a URL, so when you submit a field with a special character in it, it must be saved. This is most useful in a GET request where the field values ​​are actually expired in the URL, but the POST request follows the same rules.

In PHP, you can use the function to decode it.


Comments

Popular posts from this blog

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net - getting a value of selected radiobutton in LoadViewState -