Source: http://findahomebuilder.com.au/registration.aspx
Timestamp: 2020-08-10 21:32:36
Document Index: 774768725

Matched Legal Cases: ['art1', 'art1', 'art2', 'art2', 'art3', 'art3']

Create an Account - Find a Home Builder
By using this form, I agree to the Findahomebuilder Terms of Use
These Terms contain important information, including disclaimers and limitations of liability.
Findahomebuilder.com.au is owned by Parmar and Thomas Pty Ltd ACN 607121719 as the owners of the website permits the users to :
Access and use our website (https://www.findahomebuilder.com.au) and the functionality that is made available via our Website; also view and interact with any content available or other material provided by our website.
Findahomebuilder may from time to time review and update these Terms to take account of new laws, regulations, products, technology, or other reasons at our discretion.
You agree not to republish information provided on findahomebuilder.com.au without written consent of all directors of the company.
Your use of our Website will be governed by the most recent Terms and conditions posted at www.Findahomebuilder.com.au. By continuing to use the Website, you clearly agree that you will be bound by the most recent Terms and conditions.
Please note that if you are a Builder your use of the Website is also subject to the terms and conditions applicable to the agreement between you and Findahomebuilder.com.au.
The Website is subject to change at any time without notice at the discretion of the company directors.
Registration with Findahomebuilder.com.au
The Website aims to be a resource and guide for:
Home builders wishing to use the Website to list and promote the new home designs on offer;
Potential home buyers wishing to use the Website to search, compare, shortlist review and select the home designs listed on the Website and to contact the home builders in relation to these home designs to get a detailed quote through our website.
In order to source a quote, you will be required to create an account with findahomebulder.com.au.
When creating your Account, you will be asked to provide your personal details. This information will assist us in providing the services associated with the Website to you.
You warrant that all information and data provided by you in the registration of your Account is accurate, complete and up to date. You will promptly inform Findahomebuilder if there is any change to this information or data.
If you are a Home Buyer, you may contact the builder of a particular home design by signing in to your Account (which includes entering your Password), and selecting the home or homes which you would like to enquire about. The Website will then generate an email containing all the details of the particular home (including your selected detailed requirements and inclusions) and your contact details. These details will then be sent to the builder to generate a detailed quote You may be asked to re-enter or confirm your name and contact details (such as your email address or phone number) before the Website is able to generate this email and quote for you.
If you are a Builder, in order for you to upload your details, plans and designs you will be required to contact admin@Findahomebuilder .com.au.
You agree that you will not share your Password or let anyone else access your Account or do anything that would risk the security of your Account.
If you choose to do so Findahomebuilder will not in any event be liable for any loss, damage, claims, costs or expenses arising out of the use or misuse of your Password and Account, and you will indemnify Findahomebuilder against all loss, damage, claims, costs or demands in this regard.
You must notify us immediately if you become aware of any unauthorized access or use of your Account.
You agree that if we disable or terminate your Account for any reason, you will not create another one without our permission, whether through the use of your own personal details or those related to you or created by you.
We reserve all right to refuse registration of any Account, at our sole discretion. If you have decided to become a partner builder with us, then you must provide all information as requested so that accurate comparison can be made.
If you are a builder who chooses to publish plans on our website and have provided false or misleading information that is brought to our attention we will remove your listing from our website without giving you any notice.
If information that you provided to us has changed then you must notify us the info changed in detail in writing so that we can update the information on the website. Findahomebuilder.com.au will update the information within a reasonable time to reflect the correct/updated info on our website so that an accurate comparison can be made.
Find a homebuilder will not be liable for any financial or reputational loss to your business as result of outdated information on our website. It is the sole responsibility of the partner builder to review the information on our website from time to time and advise us of the changes or any discrepancies. We will aim to resolve the matter within a reasonable time.
The builders must be aware that any Builder Content that is uploaded to our Website:
can be accessed and viewed by the public; and
can be used by us in accordance with the agreement send out including to promote our Website.
You retain ownership of all intellectual property rights in the Builder Content or Partner Content you provide us to be uploaded on our website. Once the content is loaded on our website you grant us the permission to use the website globally and any other financial gains made by findahomebuilder.com.au will not be shared with the partner builder.
No royalties apply of you publish content on our website. We will be able to use the content worldwide by uploading the Builder Content.
Once the builder’s content is published on our website you give us a transferrable and worldwide license to use, copy, communicate, reproduce, display, publish, broadcast and transmit for the purpose of listing, promoting and advertising on our Website.
Where the Builder Content or Partner Content is uploaded by us on our Website that contains material from third parties, you warrant that you have obtained the rights from such third parties.
We may access or examine any Content and at our discretion, move, remove, block, modify, edit, refuse to upload or disable access to Builder Content or Partner Content which we consider, in our reasonable discretion, to breach any law or to be otherwise unacceptable.
The users of this website acknowledge that findahomebuilder.com.au does not and will take any responsibility or liability for the deletion or failure to store any Builder Content on the Website; and is not responsible for the accuracy of any Builder Content or Partner Content that has been uploaded to our Website.
You the builder who has provided the material represent and warrant that:
you own the Builder Content or and have all necessary licenses, rights, consents, and permissions to provide us to publish the Builder Content
As a builder you have the right and authority to grant the information to us.
the Builder Content that is provided by you for publishing will not infringe the intellectual property rights of any third party.
You as a builder clearly understand and acknowledge that findahomebuilder.com.au do not guarantee any confidentiality with respect to any Builder content once the information is uploaded on our website.
The Website is owned and operated by Findahomebuilder
The Findahomebuilder Content on the Website is for general information comparison and promotional purposes only. Findahomebuilder does not represent any particular builder however we will promote a builder based on the agreement we have in place and the special offers on our sole discretion.
Please note that any use of Findahomebuilder Content, Builder Content or other materials or information uploaded to the Website by another person or organization is at your own risk it is suggested to contact the owner of the information before drawing any conclusions.
A quote can be requested to confirm the details of a home design that you are interested in, you should contact the relevant Builder of that home design via the web form on the Website.
If you have a complaint regarding any Builder Content, you should contact both Findahomebuilder and the relevant Builder to which the Builder Content relates.
Findahomebuilder 's sole obligation will be to review any written complaint notified to it and, if deemed necessary will take necessary steps to rectify information.
If you have a complaint regarding any Findahomebuilder Content, Partner Content or other third party content, contact us at admin@Findahomebuilder .com.au setting out the details of your complaint.
All intellectual property rights, including copyright, in the Website and Findahomebuilder Content (excluding Builder Content or Partner Content) are owned or licensed by Findahomebuilder or any of its related entities.
You must not copy, modify or transmit any part of the Website or Findahomebuilder Content without the written consent of the directors of the company.
The Website contains trademarks, logos and trade names of Findahomebuilder or third parties which are registered or otherwise protected by law. You are not permitted to use any trade marks, logos or trade names appearing on the Website without written consent of the owner of the website.
If you are a Home Buyer, you may use the website for the purpose of comparison and generating a quote from the builder for your own personal use.
Any commercial use of the website (findahomebuildercom.au) without the consent of the directors of the company would mean that the income earned must be immediately transferred to findahomebuilder.com.au account if there is no agreement in place to use the website commercially.
If you are a Builder, Findahomebuilder grants you a non-exclusive and non-transferable license to use the Website for the limited commercial purpose of promoting your home designs and generating quotes.
You must not provide material that violates any type of law or suggests that Findahomebuilder is not independent from the Builders or Partners listed on the Website or any misleading, deceptive, inappropriate, profane, defamatory, infringing, obscene, threatening, discriminatory, harassing, abusive, offensive, racially or sexually vilifying, indecent or unlawful material or information of any kind.
Find homebuilder.com.au intent to use its website to generate revenue through advertisements in the future. Any accuracy of the information in the advertisements that are posted on our website is not the responsibility of Findahomebuilder. It is suggested to contact the company for further information.
The operation of the website can be stopped at any time without any notice for any purpose including maintenance and development of the website. Findahomebuilder.com.au is not responsible and will not indemnify the user for any costs or losses incurred for the reasons that he or she was not able to use the website to source information or make comparison.
To generate a quote, you must register on our website and provide some basic details as per the form so that the builder and findahomebuilder.com.au can contact you with your requested information.
Findahomebuilder.com.au will store and use your information in accordance with the privacy laws for the purpose of generating a quote and may use it for understanding market trends and customer behavior.
If we have another services in future that we choose to provide findahomebuilder will ask you upfront if you will choose to be contacted for those services. Find a homebuilder may use your information to conduct market research to improve the quality of the service in future.
It is strongly recommended that you must not upload any personal information other than what is requested by findahomebuilder.com.au for generation of quote.
While making an enquiry you acknowledge that if you contact a Builder or Partner through the Website, that Builder or Partner will collect, use and disclose your personal information in accordance with that Builder's. If you contact these third parties, you do so at your own risk. Subject to the Privacy Act 1988 (Cth), Findahomebuilder is not responsible for and will not be liable in respect of any privacy practices of the Builders advertised on the Website.
Findahomebuilder.com.au is not liable to indemnify you for any cost or loss that you may incur as a use of the website, this website is there to provide you with a comparison and will put the builder in touch with you if you request to do so via a web form/ quote. It is your responsibility to check the quality of the materials and product used by the builder to ensure that you get the promised product. We are not a building company or a company that overviews the building process or someone who can provide you with expert advice on construction. Find a home builder therefore is not liable to indemnify you for losses or additional costs that you may incur.
You will fully indemnify Findahomebuilder for all loss, expenses, legal costs, damage, loss of revenue, reputational loss/ brand loss, penalties, claims or demands legal expense and proceedings under common law which includes negligent behavior or with malicious intention, that is in connection with any of the following actions
As a builder you have provided false information or incorrect information to be listed on our website
Breach of any of terms stated or with your use of the website.
Anyone using our website from your account where you have given out the username and password
You as a user or a person intentionally try to sabotage the website and its contents by any means or methods including hacking, using social media or through any technological tools and methods.
You try to cause any harm to the reputation or business of findahomebuilder.com.au via your formal or informal communications with Findahomebuilder.com.au.
Note: Find a home builder holds all rights to terminate your access to website without any notice. Findahomebuilder is not obligated to provide any response or any explanation or reason for termination of access and cannot be held accountable for any losses that occur to you as a result of termination or as a result of our website being inaccessible.
If you have questions or complaints, please contact us by email at admin@Findahomebuilder.com.au.
Contact Us: admin@findahomebuilder.com.au | Terms of Use
All images on findahomebuilder.com.au are for illustration purposes only. The accessories, furniture and objects that are depicted in pictures doesn't form part of the house plan. The listings on the website are only undated monthly and hence some listings may be outdated. It is recommended to contact the builder for the full pricing and latest listing of the house via our enquiry form.
Select atleast two properties to compare
Proceed to 'My Preferences'
Base Price Inclusion
Ensuite Showerbase
WIR Fitouts
Disclaimer: Please be aware that the information provided in these tables may not always be accurate and is just indicative as these might have changed or updated by the builder ; it is recommended that you refer to the inclusions document available on the builder's website or inquire via our enquiry form to get the latest inclusions and pricing.
'; } } $('#tt').html(html); showDivs(1); //equire view var link = $('#link_equire_' + id).val(); $('#view_equire').html("
"); //shortlist view var buildWhat = $('#buildWhat_' + id).val(); var inid = $('#inid_' + id).val(); $('#view_shortlist').attr('onclick', 'add_compare(' + buildWhat + ',' + inid + ')'); var height1 = $(window).height(); $('body').css({ 'overflow': 'hidden', 'height': height1 }); $('.popupSection').css({ 'overflow': 'auto', 'height': height1 }); $('#myModal').modal('show'); }); $(".close").click(function () { if ((typeof filterarray != 'undefined' && filterarray instanceof Array)) { filterMaster(); } $(".popupSection").fadeOut(500); $('body').css({ 'overflow': 'auto', 'height': 'auto' }); }); function filterMaster() { $.ajax({ type: "POST", url: "CartList.asmx/filter", data: "{'current_page':'" + filterarray.current_page + "','id_Build':'" + filterarray.id_Build + "','State' : '" + filterarray.State_val + "','start1':'" + filterarray.start1 + "','end1':'" + filterarray.end1 + "','start2':'" + filterarray.start2 + "','end2':'" + filterarray.end2 + "','start3':'" + filterarray.start3 + "','end3':'" + filterarray.end3 + "','Region' : '" + filterarray.Region_val + "','storey' : '" + filterarray.storey_val + "','Bedroom' : '" + filterarray.Bedroom_val + "','Bathroom' : '" + filterarray.Bathroom_val + "','Garage' : '" + filterarray.Garage_val + "','LivinArea' : '" + filterarray.LivinArea_val + "','Range' : '" + filterarray.Range_val + "','TheatreRoom' : '" + filterarray.TheatreRoom_val + "','Meals' : '" + filterarray.Meals_val + "','Alfresco' : '" + filterarray.Alfresco_val + "','Study' : '" + filterarray.Study_val + "','Void' : '" + filterarray.Void_val + "','BedRoomGr' : '" + filterarray.BedRoomGr_val + "','SteelStructure' : '" + filterarray.SteelStructure_val + "','BuilderName' : '" + filterarray.BuilderName_val + "','Balcony' : '" + filterarray.Balcony_val + "','WalkinPantry' : '" + filterarray.WalkinPantry_val + "','BultersPantry' : '" + filterarray.BultersPantry_val + "','HisandHerWIR' : '" + filterarray.HisandHerWIR_val + "'}", contentType: "application/json; charset=utf-8", dataType: "json", success: OnSuccess, //complete: complete, error: function (xhr, ajaxOptions, thrownError) { alert(xhr.responseText); alert("Select any Design"); } }); } function OnSuccess(response) { debugger; //$("#list div").remove(); if (response.d.length <= 12) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "block"); $("#list_9").css("display", "block"); $("#list_10").css("display", "block"); $("#list_11").css("display", "block"); $("#list_12").css("display", "block"); } if (response.d.length <= 11) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "block"); $("#list_9").css("display", "block"); $("#list_10").css("display", "block"); $("#list_11").css("display", "block"); $("#list_12").css("display", "none"); } if (response.d.length <= 10) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "block"); $("#list_9").css("display", "block"); $("#list_10").css("display", "block"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 9) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "block"); $("#list_9").css("display", "block"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 8) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "block"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 7) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "block"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 6) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "block"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 5) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "block"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 4) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "block"); $("#list_5").css("display", "none"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 3) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "block"); $("#list_4").css("display", "none"); $("#list_5").css("display", "none"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 2) { $("#list_1").css("display", "block"); $("#list_2").css("display", "block"); $("#list_3").css("display", "none"); $("#list_4").css("display", "none"); $("#list_5").css("display", "none"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length <= 1) { $("#list_1").css("display", "block"); $("#list_2").css("display", "none"); $("#list_3").css("display", "none"); $("#list_4").css("display", "none"); $("#list_5").css("display", "none"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } if (response.d.length == 0) { $("#list_1").css("display", "none"); $("#list_2").css("display", "none"); $("#list_3").css("display", "none"); $("#list_4").css("display", "none"); $("#list_5").css("display", "none"); $("#list_6").css("display", "none"); $("#list_7").css("display", "none"); $("#list_8").css("display", "none"); $("#list_9").css("display", "none"); $("#list_10").css("display", "none"); $("#list_11").css("display", "none"); $("#list_12").css("display", "none"); } for (var i = 0; i < response.d.length; i++) { var j = i + 1; var html = ''; if ((response.d[i].homeimage.indexOf("http") == 0) || (response.d[i].homeimage.indexOf("https") == 0) || (response.d[i].homeimage.indexOf("www") == 0)) { html += " "; } else { html += " "; } if (response.d[i].DisplayPrice != 0) { html += ' From $ ' + Number(response.d[i].DisplayPrice).toLocaleString('us-US') + ''; } else { html += ' From POA'; } $("#H" + j).html(html); //add images in popup view if (response.d[i].blueprint != '' && response.d[i].blueprint != null) { $("#img_view_1_" + j).val(response.d[i].homeimage); } else { $("#img_view_1_" + j).val(''); } if (response.d[i].blueprint != '' && response.d[i].blueprint != null) { $("#img_view_2_" + j).val(response.d[i].blueprint); } else { $("#img_view_2_" + j).val(''); } if (response.d[i].image1 != '' && response.d[i].image1 != null) { $("#img_view_3_" + j).val(response.d[i].image1); } else { $("#img_view_3_" + j).val(''); $("#img_view_3_" + j).hide(); } if (response.d[i].image2 != '' && response.d[i].image2 != null) { $("#img_view_4_" + j).val(response.d[i].image2); } else { $("#img_view_4_" + j).val(''); $("#img_view_4_" + j).hide(); } if (response.d[i].image3 != '' && response.d[i].image3 != null) { $("#img_view_5_" + j).val(response.d[i].image3); } else { $("#img_view_5_" + j).val(''); $("#img_view_5_" + j).hide(); } if (response.d[i].image4 != '' && response.d[i].image4 != null) { $("#img_view_6_" + j).val(response.d[i].image4); } else { $("#img_view_6_" + j).val(''); $("#img_view_6_" + j).hide(); } if (response.d[i].image5 != '' && response.d[i].image5 != null) { $("#img_view_7_" + j).val(response.d[i].image5); } else { $("#img_view_7_" + j).val(''); $("#img_view_7_" + j).hide(); } if (response.d[i].image6 != '' && response.d[i].image6 != null) { $("#img_view_8" + j).val(response.d[i].image6); } else { $("#img_view_8_" + j).val(''); $("#img_view_8_" + j).hide(); } if (response.d[i].image7 != '' && response.d[i].image7 != null) { $("#img_view_9_" + j).val(response.d[i].image7); } else { $("#img_view_9_" + j).val(''); $("#img_view_9_" + j).hide(); } if (response.d[i].image8 != '' && response.d[i].image8 != null) { $("#img_view_10_" + j).val(response.d[i].image8); } else { $("#img_view_10_" + j).val(''); $("#img_view_10_" + j).hide(); } if (response.d[i].image9 != '' && response.d[i].image9 != null) { $("#img_view_11_" + j).val(response.d[i].image9); } else { $("#img_view_11_" + j).val(''); $("#img_view_11_" + j).hide(); } if (response.d[i].image10 != '' && response.d[i].image10 != null) { $("#img_view_12_" + j).val(response.d[i].image10); } else { $("#img_view_12_" + j).val(''); $("#img_view_12_" + j).hide(); } if (response.d[i].image11 != '' && response.d[i].image11 != null) { $("#img_view_13_" + j).val(response.d[i].image11); } else { $("#img_view_13_" + j).val(''); $("#img_view_13_" + j).hide(); } if (response.d[i].image12 != '' && response.d[i].image12 != null) { $("#img_view_14_" + j).val(response.d[i].image12); } else { $("#img_view_14_" + j).val(''); $("#img_view_14_" + j).hide(); } if (response.d[i].image13 != '' && response.d[i].image13 != null) { $("#img_view_15_" + j).val(response.d[i].image13); } else { $("#img_view_15_" + j).val(''); $("#img_view_15_" + j).hide(); } if (response.d[i].image14 != '' && response.d[i].image14 != null) { $("#img_view_16_" + j).val(response.d[i].image14); } else { $("#img_view_16_" + j).val(''); $("#img_view_16_" + j).hide(); } if (response.d[i].image15 != '' && response.d[i].image15 != null) { $("#img_view_17_" + j).val(response.d[i].image15); } else { $("#img_view_17_" + j).val(''); $("#img_view_17_" + j).hide(); } if (response.d[i].image16 != '' && response.d[i].image16 != null) { $("#img_view_18_" + j).val(response.d[i].image16); } else { $("#img_view_18_" + j).val(''); $("#img_view_18_" + j).hide(); } if (response.d[i].image17 != '' && response.d[i].image17 != null) { $("#img_view_19_" + j).val(response.d[i].image17); } else { $("#img_view_19_" + j).val(''); $("#img_view_19_" + j).hide(); } if (response.d[i].image18 != '' && response.d[i].image18 != null) { $("#img_view_20_" + j).val(response.d[i].image18); } else { $("#img_view_20_" + j).val(''); $("#img_view_20_" + j).hide(); } $('#link_equire_' + j).val("mypreferences.aspx?design=" + response.d[i].nvc_DesignName + "&designer=" + response.d[i].nvc_BuilderName + "&desgineremail=" + response.d[i].DesginerEmail); //end //$("#L1").append(" "); $("#L" + j).html(" "); $("#DN" + j).text(response.d[i].nvc_DesignName); $('#enquire_' + j).html("
"); $("#BR" + j).text(response.d[i].nvc_BedRooms); $("#BHT" + j).text(response.d[i].nvc_BathRooms); //$("#S1").text(response.d[0].nvc_Squares); $("#S" + j).text(parseFloat(response.d[i].nvc_Squares).toFixed(2)); $("#LA" + j).text(response.d[i].nvc_LivingArea); // $("#bed_" + j).val(response.d[i].nvc_BedRooms); $("#bath_" + j).val(response.d[i].nvc_BathRooms); $("#arrow_" + j).val(parseFloat(response.d[i].nvc_Squares).toFixed(2)); $("#user_" + j).val(response.d[i].nvc_LivingArea); //short list if (response.d[i].nvc_BuildWhat == "Off the Plan") id_Build = 1; if (response.d[i].nvc_BuildWhat == "Custom Design") id_Build = 2; if (response.d[i].nvc_BuildWhat == "House & Land") id_Build = 3; if (response.d[i].nvc_BuildWhat == "Premium of the Plan") id_Build = 4; $('#buildWhat_' + j).val(id_Build); $('#inid_' + j).val(response.d[i].id); $("#shortlist_" + j).html("
") } } $(".compareBtn button").click(function () { debugger; $('.popupSection').fadeIn(600); setTimeout(function () { $(function () { // CONFIGS var tableSelector = '.firsttable'; var targetBreakpoint = 500; var currentVisibleColumn = 1; var nextButtonText = 'Compare Next'; // SETUP/SELECT REUSABLE ELEMENTS var table = document.querySelector(tableSelector); var allCells = table.querySelectorAll('th, td'); var columnHeaders = table.querySelectorAll('thead th'); var rowHeaders = table.querySelectorAll('tbody th'); var nextButton = document.createElement('button'); function createButtons() { nextButton.textContent = nextButtonText; nextButton.style.display = 'none'; table.parentNode.insertBefore(nextButton, table.nextSibling); nextButton.addEventListener('click', function () { $('.innerpropertiesImage').css({ 'display': 'none' }); //currentVisibleColumn = currentVisibleColumn + 1 > columnHeaders.length ? 1 : currentVisibleColumn = currentVisibleColumn + 1 > 2 ? 1 : currentVisibleColumn + 1; if (currentVisibleColumn == "1") $('.propertiesImageFirst').css({ 'display': 'block' }); if (currentVisibleColumn == "2") $('.propertiesImageSecond').css({ 'display': 'block' }); showCurrentlyVisible(); }); } function showCurrentlyVisible() { debugger; console.log('currentVisibleColumn: ' + currentVisibleColumn); // Get the Items we're going to show. The :not(:empty) query here is because sometimes you have empty
var currentlyVisibleColHeader = document.querySelector('thead th:nth-of-type( ' + currentVisibleColumn + ')'); var currentlyVisibleCells = document.querySelectorAll('tbody td:nth-of-type(' + currentVisibleColumn + ')'); // Hide All The Cells for (var i = 0; i < allCells.length; i++) { allCells[i].style.display = 'none'; } // Show Currently Visible Col Header currentlyVisibleColHeader.style.display = 'none'; // Show Currently Visible Cells for (var i = 0; i < currentlyVisibleCells.length; i++) { currentlyVisibleCells[i].style.display = 'block'; } // Show Row Headers for (var i = 0; i < rowHeaders.length; i++) { rowHeaders[i].style.display = 'block'; } } function updateTable() { // Get the Table's Width. Might as well go FULL Container Query over here. var tableWidth = table.getBoundingClientRect().width; // If the table explodes off the viewport or is wider than the target breakpoint if (tableWidth > window.innerWidth || tableWidth < targetBreakpoint) { if (table.getAttribute('data-comparing') != 'active') { // Set the comparison state to "Active" table.setAttribute('data-comparing', 'active'); // Show Next Button nextButton.style.display = 'block'; // Show the currently visible column showCurrentlyVisible(); } } else { if (table.getAttribute('data-comparing') == 'active') { // Turn off comparing table.setAttribute('data-comparing', ''); // Hide the next button nextButton.style.display = 'none'; // Remove styles from all cells, ergo, show all the cells for (var i = 0; i < allCells.length; i++) { allCells[i].style.display = ''; } // Remove styles from all row headers for (var i = 0; i < rowHeaders.length; i++) { rowHeaders[i].style.display = ''; } } } } createButtons(); updateTable(); window.addEventListener('resize', updateTable); }); }, 600); var height = $(window).height(); $('body').css({ 'overflow': 'hidden', 'height': height }); $('.popupSection').css({ 'overflow': 'auto', 'height': height }); $('.slider .slick-prev').click(); $('.slider .slick-arrow').hide(); }); $('.slider').slick({ infinite: false, slidesToShow: 1, slidesToScroll: 1, dots: false, arrows: true }); $('.prevSlide').click(function () { $(this).parent().find('.slider .slick-prev').click(); }); $('.nextSlide').click(function () { $(this).parent().find('.slider .slick-next').click(); }); $('.mainHeader').click(function (event) { $(".loginPopup").fadeOut(500); event.stopPropagation(); }); $('.loginPopup').click(function (event) { event.stopPropagation(); }); $(".loginBtn").click(function (event) { var x = $('.loginPopup').toggle(); if (x.is(":visible")) { $(".loginPopup").show(); event.stopPropagation(); } else { $(".loginPopup").hide(); } }); var ses = ""; var number =0; var count_compare = 0; var array_check = new Array(); var array_delete = new Array(); //check login if (ses != '' && ses != 'undefined' && ses != null) { cartL(0); //cart_counts(); } function add_compare(BuildWhat, in_id) { debugger; var z = parseInt($("#count_val").text()); if (z != 0) { count_compare = z + 1; } else { count_compare = count_compare + 1; } console.log(in_id); var flag = true; for (i = 1; i <= z; i++) { var id = $('#compare_view' + i).attr('data-compare-type'); if (id == in_id) { $('#divInformationdialog').modal('show'); count_compare = count_compare - 1; flag = false; break; } } if (flag) { $("#div_shortlistico").fadeTo(5, 1); $('#count_val').html(count_compare); $('#cart_text').text('Compare was inserted !'); $("#div_shortlistico").fadeTo('slow', 0); //$('#compare_view'+count_compare).attr('data-id',in_id); $('#compare_view' + count_compare).attr('data-compare-type', in_id); if (count_compare >= 1 && count_compare <= 12) { $('#build_id_short' + count_compare).val(in_id); $('#build_what_short' + count_compare).val(BuildWhat); $.ajax({ type: "POST", url: "../CartList.asmx/compare", data: "{'id_Build':" + BuildWhat + ",'in_id' : " + in_id + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: onsuccess, //complete: complete, error: function () { // alert("Select any Design"); $('#divErrorModal').modal('show'); } }); }//end if } } // function onsuccess(response) { debugger; if (response.d.length > 0) { //content shortlist if (response.d[0].homeimage.indexOf("http") == 0 || response.d[0].homeimage.indexOf("https") == 0 || response.d[0].homeimage.indexOf("www") == 0) { $('#img_shorlist_' + count_compare).attr('src', response.d[0].homeimage); } else { $('#img_shorlist_' + count_compare).attr('src', 'home Images/'+response.d[0].homeimage); } $('#shortlist_bedroom_' + count_compare).html('' + response.d[0].nvc_BedRooms); $('#shortlist_bathroom_' + count_compare).html(' ' + response.d[0].nvc_BathRooms); $('#shortlist_livingarea_' + count_compare).html('' + response.d[0].nvc_LivingArea); $('#shortlist_square_' + count_compare).html('' + parseFloat(response.d[0].nvc_Squares).toFixed(2)); if (response.d[0].DisplayPrice != 0) { $('#rig-icon-' + count_compare).html(response.d[0].nvc_BuilderName + '
' + response.d[0].nvc_DesignName + '
From $' + Number(response.d[0].DisplayPrice).toLocaleString('us-US')); } else { $('#rig-icon-' + count_compare).html(response.d[0].nvc_BuilderName + '
From POA'); } //check login to save database var ses = ""; if (ses != '' && ses != 'undefined' && ses != null) { var in_id = $('#build_id_short' + count_compare).val(); var BuildWhat = $('#build_what_short' + count_compare).val(); addcart(response.d[0].id, response.d[0]); } } } // // function onchange_shortlist(id) { if ($('#option' + id).is(':checked')) { array_check.push(id); $('#option' + id).addClass('check'); var number1 = $('#number1').val(); var number2 = $('#number2').val(); var number3 = $('#number3').val(); if (number1 == '') { number = 1; $('#number1').val(1); } else if (number2 == '') { number = 2; $('#number2').val(2); } else if (number3 == '') { number = 3; $('#number3').val(3); } else if (number1 != '' && number2 != '' && number3 != '') { } $('#delete' + id).val(number); array_delete.push(number+'-'+id); $('.compare_' + number).css('display', 'table-cell'); $('#compare_img_' + number).css('display', 'block'); $('#my_preferences_' + number).css('display', 'block'); // $('#compare_li_' + id).css('display', 'block'); var builtid = $('#build_id_short' + id).val(); var builtwhat = $('#build_what_short' + id).val(); $.ajax({ type: "POST", url: "../CartList.asmx/compare", data: "{'id_Build':" + builtwhat + ",'in_id' : " + builtid + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: onsuccess1, //complete: complete, error: function () { //alert("Select any Design"); $('#divErrorModal').modal('show'); } }); } else { debugger; var t = $('#delete' + id).val(); $('#option' + (id )).removeClass('check'); $('#number'+t).val(''); $('.compare_' + t).text(''); $('#compare_img_' + t+'>img').attr('src', 'images/property-3.png'); // $('#compare_img_' + t).css('display', 'none'); $('#my_preferences_' + t).attr('href',''); // $('#compare_li_' + id).css('display', 'none'); var ses = ""; /*if (ses != '' && ses != 'undefined' && ses != null) { var builtid = $('#build_id_short' + id).val(); var builtwhat = $('#build_what_short' + id).val(); $.ajax({ type: "POST", url: "CartList.asmx/remove_cart", data: "{'rid' : " + builtid + ",'builtwhat' : " + builtwhat + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (data) { cartL(1); }, error: function () { alert("Error"); } }); }*/ }//end else } // function onsuccess1(response) { debugger; if (response.d.length > 0) { //content shortlist //content shortlist // $('#my_preferences_' + number).attr('href', 'mypreferences.aspx?design=' + response.d[0].nvc_DesignName + '&designer=' + response.d[0].nvc_BuilderName + "&desgineremail=" + response.d[0].DesginerEmail); $('#compare_img_' + number).html(' '); //slider if (response.d[0].image1 != '') $('#compare_img_1_' + number).html(' '); /* else $('#compare_img_1_' + number).css('display','none');*/ if (response.d[0].image2 != '') $('#compare_img_2_' + number).html(' '); /* else $('#compare_img_2_' + number).hide();*/ if (response.d[0].image3 != '') $('#compare_img_3_' + number).html(' '); /* else $('#compare_img_3_' + number).hide();*/ if (response.d[0].image4 != '') $('#compare_img_4_' + number).html(' '); /* else $('#compare_img_4_' + number).hide();*/ if (response.d[0].image5 != '') $('#compare_img_5_' + number).html(' '); /* else $('#compare_img_5_' + number).hide();*/ if (response.d[0].image6 != '') $('#compare_img_6_' + number).html(' '); /* else $('#compare_img_6_' + number).hide();*/ if (response.d[0].image7 != '') $('#compare_img_7_' + number).html(' '); /* else $('#compare_img_7_' + number).hide();*/ if (response.d[0].image8 != '') $('#compare_img_8_' + number).html(' '); /* else $('#compare_img_8_' + number).hide();*/ if (response.d[0].image9 != '') $('#compare_img_9_' + number).html(' '); /* else $('#compare_img_9_' + number).hide();*/ if (response.d[0].image10 != '') $('#compare_img_10_' + number).html(' '); /* else $('#compare_img_10_' + number).hide();*/ if (response.d[0].image11 != '') $('#compare_img_11_' + number).html(' '); /* else $('#compare_img_11_' + number).hide();*/ if (response.d[0].image12 != '') $('#compare_img_12_' + number).html(' '); /* else $('#compare_img_12_' + number).hide();*/ if (response.d[0].image13 != '') $('#compare_img_13_' + number).html(' '); /* else $('#compare_img_13_' + number).hide();*/ if (response.d[0].image14 != '') $('#compare_img_14_' + number).html(' '); /* else $('#compare_img_14_' + number).hide();*/ if (response.d[0].image15 != '') $('#compare_img_15_' + number).html(' '); /* else $('#compare_img_15_' + number).hide();*/ if (response.d[0].image16 != '') $('#compare_img_16_' + number).html(' '); /*else $('#compare_img_16_' + number).hide();*/ if (response.d[0].image17 != '') $('#compare_img_17_' + number).html(' '); /* else $('#compare_img_17_' + number).hide();*/ if (response.d[0].image18 != '') $('#compare_img_18_' + number).html(' '); /* else $('#compare_img_18_' + number).hide();*/ if (response.d[0].image1 == '' && response.d[0].image2 == '' && response.d[0].image3 == '' && response.d[0].image4 == '' && response.d[0].image5 == '' && response.d[0].image6 == '' && response.d[0].image7 == '' && response.d[0].image8 == '' && response.d[0].image9 == '' && response.d[0].image10 == '' && response.d[0].image11 == '' && response.d[0].image12 == '' && response.d[0].image13 == '' && response.d[0].image14 == '' && response.d[0].image15 == '' && response.d[0].image16 == '' && response.d[0].image17 == '' && response.d[0].image18 == '') { $('#nextSlide_' + number).hide(); $('#prevSlide_' + number).hide(); } // $('#buildername_' + number).html(response.d[0].nvc_BuilderName); $('#designname_' + number).html(response.d[0].nvc_DesignName); $('#range_' + number).html(response.d[0].nvc_Range); if (response.d[0].DisplayPrice == '') { $('#baseprice_' + number).html('POA'); } else { $('#baseprice_' + number).html('$ ' + response.d[0].DisplayPrice); } $('#squares_' + number).html(parseFloat(response.d[0].nvc_Squares).toFixed(2)); $('#housewidth_' + number).html(response.d[0].nvc_HouseWidth); $('#houselength_' + number).html(response.d[0].nvc_HouseLength); $('#lotwidth_' + number).html(response.d[0].nvc_LotWidth); $('#landsize_' + number).html(response.d[0].nvc_LandSize); $('#structuralwarranty_' + number).html(response.d[0].nvc_StructuralWarranty); $('#energyrating_' + number).html(response.d[0].nvc_EnergyRating); $('#lounge_' + number).html(response.d[0].nvc_Lounge); $('#family_' + number).html(response.d[0].nvc_Family); $('#meals_' + number).html(response.d[0].nvc_Dining); $('#theatre_' + number).html(response.d[0].nvc_Theater); $('#kitchen_' + number).html(response.d[0].nvc_Kitchen); $('#study_' + number).html(response.d[0].nvc_StudyEntry); $('#alfresco_' + number).html(response.d[0].nvc_AlfrescoEntry); $('#garage_' + number).html(response.d[0].nvc_GarageEntry); $('#mastersuite_' + number).html(response.d[0].nvc_MasterSuite); $('#bedroom_' + number).html(response.d[0].nvc_BedRoomTwo); $('#bedroomthree_' + number).html(response.d[0].nvc_BedRoomThree); $('#bedroomfour_' + number).html(response.d[0].BedroomFour); $('#kitchenapp_' + number).html(response.d[0].KitchenAppliance); $('#appliancebrand_' + number).html(response.d[0].ApplianceBrand); $('#kitchenbenchtop_' + number).html(response.d[0].KitchenBenchtop); $('#splashback_' + number).html(response.d[0].nvc_SplashBack); $('#windows_' + number).html(response.d[0].windows); $('#floorcovering_' + number).html(response.d[0].nvc_FloorCovering); $('#cooling_' + number).html(response.d[0].nvc_Cooling); $('#ceilingheight_' + number).html(response.d[0].CeilingHeight); $('#bath_' + number).html(response.d[0].bath); $('#ensuiteshowerbase_' + number).html(response.d[0].EnsuiteShowerbase); $('#wallpaint_' + number).html(response.d[0].WallPaint); $('#wirfitouts_' + number).html(response.d[0].WIRFitouts); $('#securitysystem_' + number).html(response.d[0].nvc_SecuritySystem); $('#downlights_' + number).html(response.d[0].nvc_Downlights); $('#landscaping_' + number).html(response.d[0].nvc_LandScaping); $('#driveway_' + number).html(response.d[0].nvc_DriveWay); $('#promotion_' + number).html(response.d[0].nvc_Promotion); } } //compare have login function cartL(check) { debugger; cart_counts(); $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "CartList.asmx/cart", async:false, data: "{}", dataType: "json", success: function (data) { debugger; $("#count_val").html(data.d.length); $("#toggleContent div").remove(); for (var u = 0; u < array_check.length; u++) { $('#option' + array_check[u]).removeClass('check'); $('#option' + array_check[u]).prop('checked', false); var value = array_check[u] - 1; $('#option' + value).addClass('check'); $('#option' + value).prop('checked', true); } var j = 0; for (var i = 0; i < data.d.length; i++) { if (data.d[i].nvc_BasePrice != 0) { var baseprice = Number(data.d[i].nvc_BasePrice).toLocaleString('us-US'); } else { var baseprice = "POA"; } if (data.d[i].DisplayPrice != 0 && data.d[i].DisplayPrice != '' && data.d[i].DisplayPrice != null) { var Dispalyprice = Number(data.d[i].DisplayPrice).toLocaleString('us-US'); } else { var Dispalyprice = "POA"; } j = i + 1; $('#compare_view' + j).attr('data-compare-type', data.d[i].id); console.log(data.d[i].id); //slidder if (data.d[i].blueprint != '' && data.d[i].blueprint != null) { $("#img_view_1_" + j).val(data.d[i].blueprint); } else { $("#img_view_1_" + j).val(''); $("#img_view_1_" + j).hide(); } if (data.d[i].homeimage != '' && data.d[i].homeimage != null) { $("#img_view_2_" + j).val(data.d[i].homeimage); } else { $("#img_view_2_" + j).val(''); $("#img_view_2_" + j).hide(); } if (data.d[i].image1 != '' && data.d[i].image1 != null) { $("#img_view_3_" + j).val(data.d[i].image1); } else { $("#img_view_3_" + j).val(''); $("#img_view_3_" + j).hide(); } if (data.d[i].image2 != '' && data.d[i].image2 != null) { $("#img_view_4_" + j).val(data.d[i].image2); } else { $("#img_view_4_" + j).val(''); $("#img_view_4_" + j).hide(); } if (data.d[i].image3 != '' && data.d[i].image3 != null) { $("#img_view_5_" + j).val(data.d[i].image3); } else { $("#img_view_5_" + j).val(''); $("#img_view_5_" + j).hide(); } if (data.d[i].image4 != '' && data.d[i].image4 != null) { $("#img_view_6_" + j).val(data.d[i].image4); } else { $("#img_view_6_" + j).val(''); $("#img_view_6_" + j).hide(); } if (data.d[i].image5 != '' && data.d[i].image5 != null) { $("#img_view_7_" + j).val(data.d[i].image5); } else { $("#img_view_7_" + j).val(''); $("#img_view_7_" + j).hide(); } if (data.d[i].image6 != '' && data.d[i].image6 != null) { $("#img_view_8" + j).val(data.d[i].image6); } else { $("#img_view_8_" + j).val(''); $("#img_view_8_" + j).hide(); } if (data.d[i].image7 != '' && data.d[i].image7 != null) { $("#img_view_9_" + j).val(data.d[i].image7); } else { $("#img_view_9_" + j).val(''); $("#img_view_9_" + j).hide(); } if (data.d[i].image8 != '' && data.d[i].image8 != null) { $("#img_view_10_" + j).val(data.d[i].image8); } else { $("#img_view_10_" + j).val(''); $("#img_view_10_" + j).hide(); } if (data.d[i].image9 != '' && data.d[i].image9 != null) { $("#img_view_11_" + j).val(data.d[i].image9); } else { $("#img_view_11_" + j).val(''); $("#img_view_11_" + j).hide(); } if (data.d[i].image10 != '' && data.d[i].image10 != null) { $("#img_view_12_" + j).val(data.d[i].image10); } else { $("#img_view_12_" + j).val(''); $("#img_view_12_" + j).hide(); } if (data.d[i].image11 != '' && data.d[i].image11 != null) { $("#img_view_13_" + j).val(data.d[i].image11); } else { $("#img_view_13_" + j).val(''); $("#img_view_13_" + j).hide(); } if (data.d[i].image12 != '' && data.d[i].image12 != null) { $("#img_view_14_" + j).val(data.d[i].image12); } else { $("#img_view_14_" + j).val(''); $("#img_view_14_" + j).hide(); } if (data.d[i].image13 != '' && data.d[i].image13 != null) { $("#img_view_15_" + j).val(data.d[i].image13); } else { $("#img_view_15_" + j).val(''); $("#img_view_15_" + j).hide(); } if (data.d[i].image14 != '' && data.d[i].image14 != null) { $("#img_view_16_" + j).val(data.d[i].image14); } else { $("#img_view_16_" + j).val(''); $("#img_view_16_" + j).hide(); } if (data.d[i].image15 != '' && data.d[i].image15 != null) { $("#img_view_17_" + j).val(data.d[i].image15); } else { $("#img_view_17_" + j).val(''); $("#img_view_17_" + j).hide(); } if (data.d[i].image16 != '' && data.d[i].image16 != null) { $("#img_view_18_" + j).val(data.d[i].image16); } else { $("#img_view_18_" + j).val(''); $("#img_view_18_" + j).hide(); } if (data.d[i].image17 != '' && data.d[i].image17 != null) { $("#img_view_19_" + j).val(data.d[i].image17); } else { $("#img_view_19_" + j).val(''); $("#img_view_19_" + j).hide(); } if (data.d[i].image18 != '' && data.d[i].image18 != null) { $("#img_view_20_" + j).val(data.d[i].image18); } else { $("#img_view_20_" + j).val(''); $("#img_view_20_" + j).hide(); } if (data.d[i].homeimage != '' && data.d[i].homeimage != null) { if (data.d[i].homeimage.indexOf("https") == 0 || data.d[i].homeimage.indexOf("http") == 0 || data.d[i].homeimage.indexOf("www") == 0) { $('#img_shorlist_' + j).attr('src', data.d[i].homeimage); } else { $('#img_shorlist_' + j).attr('src','Home Images/'+data.d[i].homeimage); } } else { $('#img_shorlist_' + j).attr('src', 'images/property-3.png'); } $('#shortlist_bedroom_' + j).html('' + data.d[i].nvc_BedRooms); $('#shortlist_bathroom_' + j).html(' ' + data.d[i].nvc_BathRooms); $('#shortlist_livingarea_' + j).html('' + data.d[i].nvc_LivingArea); $('#shortlist_square_' + j).html('' + parseFloat(data.d[i].nvc_Squares).toFixed(0)); $('#rig-icon-' + j).html(data.d[i].nvc_BuilderName + '
' + data.d[i].nvc_DesignName + '
From $' + Dispalyprice); $('#build_id_short' + j).val(data.d[i].id); if (data.d[i].nvc_BuildWhat == "Off the Plan") id_Build = 1; if (data.d[i].nvc_BuildWhat == "Custom Design") id_Build = 2; if (data.d[i].nvc_BuildWhat == "House & Land") id_Build = 3; if (data.d[i].nvc_BuildWhat == "Premium of the Plan") id_Build = 4; $('#build_what_short' + j).val(id_Build); } if (check == 1) { for (var x = 12; x > j; x--) { $('#option' + x).removeAttr('before'); $('#img_shorlist_' + x).attr('src', 'images/property-3.png'); $('#shortlist_bedroom_' + x).html('' ); $('#shortlist_bathroom_' + x).html(' '); $('#shortlist_livingarea_' + x).html('' ); $('#shortlist_square_' + x).html('' ); $('#rig-icon-' + x).html(''); } } } }); // } } // function addcart(id, products) { debugger; $.ajax({ type: "POST", url: "search.aspx/AddCart", data: "{'idv' : '" + id + "','products': " + JSON.stringify(products) + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { $('#divSuccesModal').modal('show'); //cartL(); //cart_counts(); }, error: function (xhr, ajaxOptions, thrownError) { //alert(xhr.responseText); //alert("This site says... \r\n\r\n Please Login to save."); $("#infoMessage").text("Please Login to save.") $('#divErrorModal').modal('show'); } }); } // $('.delete_item').click(function () { debugger; var id = $(this).attr('data-id'); var t = $('#delete' + id).val(); $('#compare_view' + id).attr('data-compare-type', (id + 'd')); //$('#count_val').html((count_compare - 1)); //$('#option' + id).removeAttr('before'); //$('#img_shorlist_' + id).attr('src', 'images/property-3.png'); //$('#shortlist_bedroom_' + id).html(''); //$('#shortlist_bathroom_' + id).html(' '); //$('#shortlist_livingarea_' + id).html(''); //$('#shortlist_square_' + id).html(''); //$('#rig-icon-' + id).html(''); var img = $('#img_shorlist_' + id).attr('src'); $('#number'+t).val(''); $('.compare_' + t).text(''); $('#compare_img_' + t+'>img').attr('src', 'images/property-3.png'); // $('#compare_img_' + t).css('display', 'none'); $('#my_preferences_' + t).attr('href',''); //$('#my_preferences_' + t).css('display', 'none'); var ses = ""; if (ses != '' && ses != 'undefined' && ses != null) { if(img != 'images/property-3.png') { var builtid = $('#build_id_short' + id).val(); var builtwhat = $('#build_what_short' + id).val(); $.ajax({ type: "POST", url: "CartList.asmx/remove_cart", data: "{'rid' : " + builtid + ",'builtwhat' : " + builtwhat + "}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (data) { cartL(1); }, error: function () { //alert("Error"); $('#divErrorModal').modal('show'); } }); } } else { } });