It can be done as follows :
document.forms["Form_Name"].method= "get";
or
document.forms["Form_Name"].method= "post";
It can be done as follows :
document.forms["Form_Name"].method= "get";
or
document.forms["Form_Name"].method= "post";
It can be done as follows :
document.forms["Form_Name"].action = "file_name.ext";
It can be followed in any programming language. It’s tested and working. Tested by myself
Check the following links to see how it work
To download it please click the below links
When we try to print “jquery” inside “PHP or Perl” using “echo or print” statement we should escape the “$” symbol used in the jquery. It should be as follows.
print qq{
<script type=”text/javascript”>
(function(\$) {
\$(function() {
\$(“#scroller”).simplyScroll({orientation:’vertical’,customClass:’vert’});
});
})
(jQuery);
(function(\$) {
\$(function() {
\$(“#scroller1”).simplyScroll({direction:’backwards’});
});
})(jQuery);
(function(\$) {
\$(function() {
\$(“#scroller2”).simplyScroll({direction:’backwards’});
});
})(jQuery);
</script>
}
echo ‘
<script type=”text/javascript”>
(function(\$) {
\$(function() {
\$(“#scroller”).simplyScroll({orientation:’vertical’,customClass:’vert’});
});
})
(jQuery);
(function(\$) {
\$(function() {
\$(“#scroller1”).simplyScroll({direction:’backwards’});
});
})(jQuery);
(function(\$) {
\$(function() {
\$(“#scroller2”).simplyScroll({direction:’backwards’});
});
})(jQuery);
</script>
‘;
You must be logged in to post a comment.