Sign up to connect with Luckychap and gain access to their complete profile
  • Member Avatar
    Luckychap

    Replied To a Post in Adding dynamic data to dynamic rows

    http://www.w3schools.com/jsref/met_table_insertrow.asp This is simplest explaination one need to insert row/cell to a table. Can you put your code so that we can find what is wrong in your try?
  • Member Avatar
    Luckychap

    Replied To a Post in Group Array by common value...

    function getGroups(yourRawArray) { var group1 = []; var group2 = []; for(var i = 0; i < yourRawArray.length; i++) { var obj = yourRawArray[i]; if(obj['2'] == '0') group1.push(obj); if(obj['2'] == …
  • Member Avatar
    Luckychap

    Replied To a Post in javascript onclick not working

    You haven't handled ajax error method. I am sure it will be going there. Thanks!
  • Member Avatar
    Luckychap

    Replied To a Post in HTML Compression on .Net

    Hi pritaeas - Thanks for the reply.I am looking for someting which google do to compress the html code(If you see the source code of www.google.com). I was wondering if …
  • Member Avatar
    Luckychap

    Created HTML Compression on .Net

    Hi All, How can we enable HTML code compression in .Net? Is there anything we need to do in web.config or external tool is needed? Thanks!
  • Member Avatar
    Luckychap

    Replied To a Post in Manipulate via DOM

    $(".second-form").clone().prependTo("#frmMain"); $("#frmMain").remove(); Use jQuery to make your life easy! First clone the inner form and add it above the outer form. Them remove the outer form. Thanks!
  • Member Avatar
    Luckychap

    Replied To a Post in create a url and use a word in it to personalise a page

    function getParam(paramName) { var url = window.location; var params = url.substring(url.indexOf("?") + 1 , url.length).split("&"); for(var i = 0; i < params.length; i++) { var param = params[i].split("="); if(param[0] == …
  • Member Avatar
    Luckychap

    Gave Reputation to JJenZz in Empty text boxes on focus if they have an initial value

    This can be done more simply as follows (although some may find harder to understand): $(document).ready(function () { $(':text').on('blur focus', function (e) { var values = ['', this.defaultValue], isFocus = …
  • Member Avatar
    Luckychap

    Replied To a Post in Simple loop issue

    var beeped = false; function checkResponseStatus(){ $.getJSON("requestrespond.php", function(data) { ... ... ... if (respond_status == 1) { //request has been made document.getElementById("responseStatus").disabled = false; document.getElementById("responseStatus").innerHTML = "Request Sent on "+ …
  • Member Avatar
    Luckychap

    Replied To a Post in Position absolute but relative to parent BUT postion: fixed;

    height of an relative positoned element in % is caclulated on the basis of its parents. You need to set height of parent. In case parent is body you can …
  • Member Avatar
    Luckychap

    Replied To a Post in setTimeout problem

    This is solved but here is the more clean method to pass argument(s) you should know:- function abc(msg, msg1){ alert(msg + " | " + msg1); } setTimeout(abc, 500, "Hello", …

The End.