By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!
jQuery dynamic menu from database in asp.net
Step 1 : Create SQL Server table and insert menu data Create table tblMenu ( Id int primary key identity, MenuText nvarchar(30), ParentId int foreign key references tblMenu(Id), Active bit ) Go Insert into tblMenu values('USA', NULL, 1) Insert into tblMenu values('India', NULL, 1) Insert into tblMenu values('UK', NULL, 1) Insert into tblMenu values('Australia', NULL, 1) Insert into tblMenu values('Virginia', 1, 1) Insert into tblMenu values('Maryland', 1, 1) Insert into tblMenu values('AP', 2, 1) Insert into tblMenu values('MP', 2, 1) Insert into tblMenu...
Comments
Post a Comment