logo
Blog single photo

Uncaught ReferenceError: show_div is not defined


                        

Uncaught ReferenceError: show_div is not defined

<script>
    function show_div(div_id,show_cust)
        {
            $("#h_show_cust").val(show_cust);
            $("#h_id").val(div_id);
            document.form1.submit();
        }
</script>
      

<a href="#" onclick="show_div(8,'no')">                               
<div style="float:left;width:180px;height:180px;border:1px solid black;text-align:center;
margin:2px;background-color:#1ab394;color:#000000;">
<input type="hidden" name="set_div_id_8" id="set_div_id_8" value="8">
<input type="hidden" name="set_div_name_8" id="set_div_name_8" value="101">
<h2>101</h2>
South East side <br>
5500 sq ft<br>
@ Rs. 120,000 / sq ft <br>
<hepspace id="tmp_downloadhelper_hepspace" style="display: none;"></hepspace></div>
</a>


<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
    function show_div(div_id,show_cust)
        {
            $("#h_show_cust").val(show_cust);
            $("#h_id").val(div_id);
            document.form1.submit();
        }
</script>     
</head>
<body>
    <form>
        <a href="#" onclick="show_div(8,'no')">                                
        <div style="float:left;width:180px;height:180px;border:1px solid black;text-align:center;
        margin:2px;background-color:#1ab394;color:#000000;">
        <input type="hidden" name="set_div_id_8" id="set_div_id_8" value="8">
        <input type="hidden" name="set_div_name_8" id="set_div_name_8" value="101">
        <h2>101</h2>
        South East side <br>
        5500 sq ft<br>
        @ Rs. 120,000 / sq ft <br>
        <iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></div>
        </a>
    </form>
</body>
</html>
Top