hi,
Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1?

Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes.

i want to access all these from admin page.But i want userpage to access only the search feature of details page.


how to do this..?plz explain...

You would need to use cookies and/or sessions along with a login form. The user would then log in and the script would determine what their permissions are. You could then use a series of conditionals within your script wrapped around various elements you want to appear differently depending upon who is visiting the page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.