http://MY-pc/test/test.aspx?from_time=19:00
Please suggest me how do i control it..?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Karthik RamachandranPosted Sep 23, 2018, 1:59 AM
Brajesh KumarPosted Sep 22, 2018, 11:39 AM
I am not clear with what you want to achieve
But hope it will work for You.
1.with c#
var time =Request.QueryString["from_time"]; //here you will get your time string
//your validation code here
2.with Jquery
var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
if (urlparam[0] == param) {
return urlparam[1];
}
}