Hello people, I am writting here because i was unable to find solution
for my problem which is:
Currently i am using JQuery (http://docs.jquery.com/
Release:jQuery_1.2.3) in my project. Since a day i decided to use
prototype js. Still, i admit that my knowledge with javascript is
minimal but i was able to find that both scripts are fighting together
and this makes them impossible to be used at the same time. There are
no errors or enything that can help me find where is the exact
problem. To be a little more specific:
declaring jquery in my head. Calling the function like this:
#----- begin paste
<script type="text/javascript">
function loadContent(ID1,ID2) {
	$("#contentArea").load("foo.php?var1="+ID1+"&var2="+ID2+"");
		}
</script>
#---- end paste
If working i will have result from foo.php in declared area in my
site. Everything works fine till i declare prototype js in my site
head.
Could you guys give any idea how to prevent this from happening? I
really want to use both in my project.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
Andrew Kaspick wrote:> Right from the docs page... > http://docs.jquery.com/Using_jQuery_with_Other_Libraries > > On 3/22/08, Aaron <aaron-YwBQDqgtYG9BDgjK7y7TUQ@public.gmane.org> wrote: > >> Hello people, I am writting here because i was unable to find solution >> <cut> >> > >Thanks Andew.. seems 12 hours of coding are bad for finding easy solutions Cheerz Aaron --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Right from the docs page... http://docs.jquery.com/Using_jQuery_with_Other_Libraries On 3/22/08, Aaron <aaron-YwBQDqgtYG9BDgjK7y7TUQ@public.gmane.org> wrote:> > Hello people, I am writting here because i was unable to find solution > for my problem which is: > Currently i am using JQuery (http://docs.jquery.com/ > Release:jQuery_1.2.3) in my project. Since a day i decided to use > prototype js. Still, i admit that my knowledge with javascript is > minimal but i was able to find that both scripts are fighting together > and this makes them impossible to be used at the same time. There are > no errors or enything that can help me find where is the exact > problem. To be a little more specific: > declaring jquery in my head. Calling the function like this: > #----- begin paste > <script type="text/javascript"> > function loadContent(ID1,ID2) { > $("#contentArea").load("foo.php?var1="+ID1+"&var2="+ID2+""); > } > </script> > #---- end paste > If working i will have result from foo.php in declared area in my > site. Everything works fine till i declare prototype js in my site > head. > > > Could you guys give any idea how to prevent this from happening? I > really want to use both in my project. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---