I have a search form in navigation created with form_open() and the action from the search controller. Now when I want to submit something and disable the form for visualize a processing operation site CodeIgniter shows:
An Error Was Encountered The action you have requested is not allowed.
View File 4 Example:
<?php echo form_open(array('class' => 'searchform')); ?>
<input type="text" name="search" value="..." />
<input type="submit" name="s" value="..." />
</form>
JS Code:
$('form.searchform').submit(function()
{
$('form.searchform input').attr('disabled', 'true');
});