[jQuery] Re: pleeease heeelp me nowwwwww
Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
give us the url or the main js code, hard to be helpful without info. On Wed, Dec 10, 2008 at 10:22 AM, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
(thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
Are you mixing any other frameworks on the page e.g. Prototype? From: jquery-en@googlegroups.com on behalf of [EMAIL PROTECTED] Sent: Wed 10/12/2008 09:36 To: jQuery (English) Subject: [jQuery] Re: pleeease heeelp me noww ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); .. the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com http://www.finaleshop.com/ you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be found on our website - www.kainos.com
[jQuery] Re: pleeease heeelp me nowwwwww
no James, but i think you'd better to know that i have this code : script type=text/javascriptvar xmlhttp=false,response=null,spinner = document.createElement('IMG'),expanded=''; spinner.src = 'images/c/ spinner.gif'; try {xmlhttp = new ActiveXObject(Msxml2.XMLHTTP);} catch (e) {try {xmlhttp = new ActiveXObject(Microsoft.XMLHTTP);} catch (E) {xmlhttp = false;}} if (!xmlhttp typeof XMLHttpRequest != 'undefined') { xmlhttp = new XMLHttpRequest();}/script in top of my page, for other javascripts (i didn't add this now) but there was no errors till now! On Dec 10, 12:40 pm, James Hughes [EMAIL PROTECTED] wrote: Are you mixing any other frameworks on the page e.g. Prototype? From: jquery-en@googlegroups.com on behalf of [EMAIL PROTECTED] Sent: Wed 10/12/2008 09:36 To: jQuery (English) Subject: [jQuery] Re: pleeease heeelp me noww ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); .. the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop sitehttp://www.finaleshop.comhttp://www.finaleshop.com/ you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be found on our website -www.kainos.com
[jQuery] Re: pleeease heeelp me nowwwwww
in http://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
so, the top of the code should be: var flag=false; $(document).ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); }); On Wed, Dec 10, 2008 at 10:53 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: in http://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
On a side note: replace all your div#myid by #myid, it will give a performance boost, since you'll then be using the getElementById instead of first selecting all divs, then finding the one with the id. On Wed, Dec 10, 2008 at 10:57 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: so, the top of the code should be: var flag=false; $(document).ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); }); On Wed, Dec 10, 2008 at 10:53 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: in http://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
:)) no dear you're right but i was trying somthing that JQueryProgrammer was said i just write wrong for a scond see it now ! ;) it has error nooow! On Dec 10, 12:53 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: inhttp://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
thanks Alexandre and other i have this problem yet ! and i have to go to university ! I check your other answers later thanks before... On Dec 10, 1:13 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: :)) no dear you're right but i was trying somthing that JQueryProgrammer was said i just write wrong for a scond see it now ! ;) it has error nooow! On Dec 10, 12:53 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: inhttp://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
1./ are you sure the div with id=peik is present on the page? 2./ what is that other script for, it'sreally not good, it's a big eval() call, eval is evil !! LAb[au] _ laboratory for architecture and urbanism Alexandre Plennevaux Lakensestraat 104 Rue de Laeken Brussel 1000 Bruxelles België _ Belgique _ Belgium tel: +32 (0)2 2196555 fax: +32 (0)2 4266986 mail: [EMAIL PROTECTED] http://www.lab-au.com VAT: BE0475.210.720 On Wed, Dec 10, 2008 at 11:13 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: :)) no dear you're right but i was trying somthing that JQueryProgrammer was said i just write wrong for a scond see it now ! ;) it has error nooow! On Dec 10, 12:53 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: inhttp://www.finaleshop.com/includes/javascript/rahnema1.js you have a typo var flag=false; //$().ready(function(){ $(function() { that sign is problematic. continuing reading... On Wed, Dec 10, 2008 at 10:40 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: (thanks for your answers :*) script type=text/javascript src=includes/javascript/jqCore.js/ script script type=text/javascript src=includes/javascript/rahnema1.js/ script the urls are : http://www.finaleshop.com/includes/javascript/rahnema1.js http://www.finaleshop.com/includes/javascript/jqCore.js On Dec 10, 12:38 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you cut and paste the full html on the page, and show the javascript external file links. that should be enoughf thanks. On Wed, Dec 10, 2008 at 10:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, the code is: var flag=false; $().ready(function(){ $(div#peik).hide(); $('div#cardbanki div').hide(); $('div#pardakht div').hide(); ... the error is on first div (like i said in first post) and if you want url , i must say that it's a persian eshop site http://www.finaleshop.com you must buy a product and then goto checkout_confirmation.php page (i suggest that pm me to talk about it ! :-s ) On Dec 10, 12:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: nooo, it wasn't helpful if anybody can help me please send a pm me at yahoo messsenger at ( [EMAIL PROTECTED]) thankks :-s On Dec 10, 12:22 pm, JQueryProgrammer [EMAIL PROTECTED] wrote: Try this: $(function() { // your code goes here. }); Also while including the jquery file, write it as: script type=text/javascript src=jquery.js/script Check whether this helps. On Dec 10, 2:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks
[jQuery] Re: pleeease heeelp me nowwwwww
the jquery library must be conflicting with some other library try *jquery(funtion(){});* instead of $(document).ready On Wed, Dec 10, 2008 at 2:47 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks -- With Regards, Chandan.
[jQuery] Re: pleeease heeelp me nowwwwww
wos! something that Chandan said, was helpful !! some one had written a code and in his code define a function with $ it was the problem o... thanks guys :) On Dec 10, 12:21 pm, Chandan Luthra [EMAIL PROTECTED] wrote: the jquery library must be conflicting with some other library try *jquery(funtion(){});* instead of $(document).ready On Wed, Dec 10, 2008 at 2:47 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks -- With Regards, Chandan.
[jQuery] Re: pleeease heeelp me nowwwwww
For future reference, you'll get a lot more sympathy, and more help, if you use a more descriptive subject line. Glad you got help with your problem. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, December 10, 2008 8:10 AM To: jQuery (English) Subject: [jQuery] Re: pleeease heeelp me noww wos! something that Chandan said, was helpful !! some one had written a code and in his code define a function with $ it was the problem o... thanks guys :) On Dec 10, 12:21 pm, Chandan Luthra [EMAIL PROTECTED] wrote: the jquery library must be conflicting with some other library try *jquery(funtion(){});* instead of $(document).ready On Wed, Dec 10, 2008 at 2:47 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: hi i have written jquery for a site; after a while for sth that i don't know it don't work anymore and direbug give an error like this: $(div#peik) is null $(div#peik).hide(); and when i try to write $(document).ready() in firebug, it return : TypeError: $(document) is null whyyy is that? pleeeas answer as soon as posible thanks -- With Regards, Chandan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery (English) group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~--~~~~--~~--~--~---