XFileSharing Pro - Jquery integration Conflic with Xfilesharing

Message
Author
sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am

Jquery integration Conflic with Xfilesharing

#1 Postby sherayusuf3 » Jan 11, 2010 2:41 am

admin: Moderated. Only English lagnuage allowed

sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am

Re: Jquery integration Conflic with Xfilesharing

#2 Postby sherayusuf3 » Jan 12, 2010 2:19 am

im so sory for my false,

im try intregation jquery Ajax Framework on Xfilesharing main.html

but i got error like this
Image

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#3 Postby PilgrimX182 » Jan 12, 2010 10:53 am

The problem caused by $( function.
Solution is: in xupload.js replace all

Code: Select all

$(
with

Code: Select all

$$(
Also it's used somewhere in pages and index.cgi, you can do a search through file contents and replace them all.

sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am

#4 Postby sherayusuf3 » Jan 25, 2010 5:18 am

PilgrimX182 wrote:The problem caused by $( function.
Solution is: in xupload.js replace all

Code: Select all

$(
with

Code: Select all

$$(
Also it's used somewhere in pages and index.cgi, you can do a search through file contents and replace them all.

not work, but thnk pilgrim
i change my ajax framework to mootols

th3hotcake
Posts: 51
Joined: Apr 07, 2009 7:24 pm

#5 Postby th3hotcake » Jan 29, 2010 5:22 am

PilgrimX182 wrote:The problem caused by $( function.
Solution is: in xupload.js replace all

Code: Select all

$(
with

Code: Select all

$$(
Also it's used somewhere in pages and index.cgi, you can do a search through file contents and replace them all.
Hi Pilgrim, this works great for using jQuery and XFS together. Could you explain why this solves the problem? I like understanding why it causes a problem :)

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » Jan 29, 2010 8:43 am

Cause JQuery use the same function, and our ones was conflicting with it.