'; $("#SiteLoginDiv").html(statusLoginStr); $("#logindiv").hide(); $("#usernamepassworddiv").hide(); $("#facebooktwitteruserdetails").show(); $("#facebooktwitteruserdetails").html(embededlogeddetails); $("#facebooktwitteruserdetails").show(); $("#whichusertype").val('1'); $("#CommonLoginDiv").hide(); $("#SiteLoginDiv").show(); }); } function fblogout(){ FB.Connect.logout(); $("#logindiv").show(); $("#facebooktwitteruserdetails").hide(); $("#usernamepassworddiv").show(); $("#CommonLoginDiv").show(); $("#SiteLoginDiv").hide(); $("#userscreenname").val(''); $("#Username").val(''); $("#Useremail").val(''); //$("#FacebookLoginDiv").hide(); }
They say it takes a lot to make a marriage work. But saving one from falling apart owing to reasons that seem unsolvable only goes to prove that you are ready to give it a chance. And, why not? With an alarming rise in divorces in urban India, counselling and relationship therapy pose as a potential solution for broken marriages. Many couples feel that it is a sheer waste of time, effort and money but the truth is, a marriage sometimes needs a third perspective. Let?s find out how counselling can help restore the lost spark in your marriage.
'); document.getElementById('commentBoxRes').style.display="block"; }else{ $("#commentBoxRes").show(); $.post("http://idiva.com/tpl/tplGetcommentadded.php",{"content_id":content_id,"pageval":"1","whichflag":whihcflag},function(data){ //alert(data); $("#showcommentcontent").html(data); var nocomments = $('#nocomments_'+12119).val(); //console.debug(nocomments); if( nocomments > 0){ $('#comment_'+12119).html(''); $('#comment_'+12119).html(''+nocomments +' Comments ' ); } $("#commentBoxRes").html('Thanks for posting the comments.
'); document.getElementById('commentBoxRes').style.display="block"; $("#Username").val(''); $("#Useremail").val(''); $("#comment_text").val(''); }); } $('#commentSubmit').attr('disabled',''); }); }else{ $("#showerrorComment").html(errmsg); document.getElementById('showerrorComment').style.display="block"; } /*var useremail = $("#Username").val(); var userpassword = $("#Password").val(); var comment_text = $("#comment_text").val(); var flag = 0; if(useremail=="" || useremail=="Useremail"){ errmsg = "Please Enter Email"; $('#Username').focus(); flag=1; }else if (!isValidEmail(useremail)){ errmsg = "Please Enter Valid Email Address"; $('#Username').focus(); flag=1; }else if (userpassword == "" || userpassword == "Password"){ errmsg = "Please Enter Password"; $('#Password').focus(); flag=1; }else if (comment_text == "" || comment_text == "Comments"){ errmsg = "Please Enter Your Comment"; $('#Password').focus(); flag=1; } if(flag==0){ $.post("http://idiva.com/2db/comment2db.php",{'login_type':'indiatimes','Username':useremail,"userpassword":userpassword,"content_id":content_id,"comment_parentid":comment_parentid,'comment_text':comment_text},function(data){ if(data=='error'){ $("#showerrorComment").html('User and password did not match.'); $("#showerrorComment").show(); }else{ $("#commentBoxRes").show(); } }); }else{ $("#showerrorComment").html(errmsg); $("#showerrorComment").show(); }*/ } } function clearText(field){ if (field.defaultValue == field.value) field.value = ''; else if (field.value == '') field.value = field.defaultValue; }
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.