DMXzone Database Connector PHP Support Product Page

Solved

jQuery UI broke my page

Reported 15 Oct 2014 21:30:53
1
has this problem
15 Oct 2014 21:30:53 Peter Hoyt posted:
Using Dreamweaver CC and the Database Connector PHP extension. The page uses two select items that are populated by two data sources.

While working further on the page, I added a jQuery UI button to the page and broke my data sources. Only be removing the jQuery UI item was I able to restore the page to full functionality.

Is there a trick to use jQuery UI objects in DW when the extension is used or are prohibited from using the built in jQuery UI objects?

Replies

Replied 16 Oct 2014 07:27:14
16 Oct 2014 07:27:14 Teodor Kuduschiev replied:
Hi Peter,
There is absolutely no problem to use any of the jquery UI widgets on the page. What happened on your page is most probably DW placed another instance of the jquery library include. As you know, the jquery library does not allow to be included more than once on your page, and Dreamweaver does not have a check - if it is already included.
Please open your page and remove the SECOND jquery include from the head tags, levaing just the first one:

<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>


Replied 16 Oct 2014 12:52:08
16 Oct 2014 12:52:08 Peter Hoyt replied:
That worked. I was able to remove the second jQuery include but left the other three lines of code pointing to the jQueryAssets/jquery.ui. CSS files. The page is back to working again.

Reply to this topic