Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Load Page With $("#content").load("content.html"); Rate Topic   - - - - -

 
  • Dexterflamez
  • Senior Member
  • Trial users
  • Join Date: 08-Jan 18
  • 358 posts

Posted 28 October 2021 - 09:09 PM #1

Using this to load url into a div doesn't work on cs cart, any fix for this $("#content").load("content.html");



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12139 posts

Posted 29 October 2021 - 09:34 PM #2

is 'content.html' in the root of your store?  Suggest you use a URL.  At least "//content.html".

And your debugging should also ensure that 'id="content"' exists on the page.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.