$(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.
I am new to jQuery I want to change the form on click of the appropriate radio button. Please help me. This is my code <s:radio name="radioButton" list="#{'os':'OS','platform':'Platform''}" value="1" /> <div id="OS_req"> <s:form name="sendreqOS" action="Login" >
<s:submit value="Submit"></s:submit> </form> </div> On clicking 'OS' radio button i want to get the 1st form and hide second one and on clicking 'Platform' radio button i want the second form and hide the first one.