shreef_1990 Posted April 25, 2012 Share Posted April 25, 2012 i want to call javascript:tableOrdering('a.title','asc',''); on URL address bar like order means by example i have a site i enter each time i wait till it complete loading the sort desc then asc andd it is really long and heavy page i want to call that page directly asc sorted http://www.example.com/e/x.html how to call it sorted I tried http://www.example.com/e/x.html:javascript:tableOrdering('a.title','asc',''); it was an embarrassing moment LOL Thanks Quote Link to comment https://forums.phpfreaks.com/topic/261593-call-functon-in-url/ Share on other sites More sharing options...
requinix Posted April 25, 2012 Share Posted April 25, 2012 Only way it's possible is if there's actual JavaScript code on the page that checks the URL for sorting information when the page loads. As you're describing it, no you can't do that. Quote Link to comment https://forums.phpfreaks.com/topic/261593-call-functon-in-url/#findComment-1340495 Share on other sites More sharing options...
shreef_1990 Posted April 26, 2012 Author Share Posted April 26, 2012 :'( :'( :'( :'( :'( :'( :'( :'( :'( thanks Quote Link to comment https://forums.phpfreaks.com/topic/261593-call-functon-in-url/#findComment-1340584 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.