$(this).dialog('close') working fine first time but not second time.
I am using ajax, so there is no page refresh occurs. Until ajax call is successful dialog closing properly.
And once ajax call is made its not closing even if submit/save button is clicked.
Here is my code,
CODE:
jQuery.noConflict();
function submitDetails()
{
var inptUserName = document.getElementById('username').value;
var inptPassword = document.getElementById('password').value;
var inptFullname = document.getElementById('fullname').value;
var inptEmailId = document.getElementById('emailId').value;
var i = document.getElementById("selOptions").selectedIndex;
var selRoleType = document.getElementById("selOptions").options[i].value;
var url="editUsersAction.action?oper=add&userName="+inptUserName+"&password="+inptPassword+"&fullName="+inptFullname+"&emailId="+inptEmailId+"&roleName="+selRoleType;
I am need of a help regarding onclick image in a dropdown.
When I click any of this dropdown, I am able to show the dropdown. When an user click any image inside the dropdown, I can able to replace the dropdown arrow with that selected image. But user need to click the next arrow two times to show the dropdown.
I am need of a help regarding onclick image in a dropdown.
When I click any of this dropdown, I am able to show the dropdown. When an user click any image inside the dropdown, I can able to replace the dropdown arrow with that selected image. But user need to click the next arrow two times to show the dropdown.
On click of link1, a div should display inside the "content". On click of link2, another div should display inside the "content". Like this for all link, separate div should be displayed.