[eluser]Unknown[/eluser]
Hello
i want to make an ajax newsletter form.
i tried something like:
new Ajax.Updater('div_name', 'url', { method:'post',
parameters: { 'useremail': $F('newsletter_email_id') }
});
and many variations of it with no results.i even got the value of the email field with javascript however i can only pass it as a get parameter. However the email field value contains ci illegal characters. I dont want to set permitted uri chars to '' so i tried doing it inside my controller's costructor using $this->config->set_item('item_name', 'item_value');. i echo the value which outputs nothing however when i submit the email i still get the ci warning about uri permitted chars. I also made a second config file with permitted chars set to '' again echoed the value (which again was '') with no luck. Can anyone think of a possible solution?