New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoRelase / manuallyReleaseData #86
Comments
$("#formdata").sisyphus().manuallyReleaseData(); Also you don't need to use backslashes here, they're used to escape strings. |
Hello simsalbim, |
I can't say why it doesn't work as I didn't see full code. You can check the functionality:
Oh, I've just read the last sentence - I think I don't even want to see that code as having javascript (as well as mark-up, btw) in php is not a brilliant solution. |
I think the problem is that, as I mentioned in the first post, the call to the manuallyReleaseData() function isn't done on the site where the form is located. I check the user input at input.php where I also call Sisyphus $(function() { then I redirect to input-ok.php where no form is availabe. On this site input-ok.php I will manuallyReleaseData(). |
If you need to clear sisyphus' data on another page why do you run it with |
Hi, |
Hi all, I´m new to Sisyphus and jQuery.
I have integrated it to my site. My Form is checked by PHP for mistake, the data is written to MYSQL and the user is redirected to a confirmation site. Now my question. I have added following code to my form site ...
$( function() {
$( "#formdata" ).sisyphus({
autoRelease: false
});
} );
</script>
Input is correct, checked by PHP and user is redirected. How can I clear the data now from the new site ...
I tried $('#formdata').sisyphus.manuallyReleaseData();
but seems not to be workin. Any help for a newbie is apreciated.
The text was updated successfully, but these errors were encountered: