no James, but i think you'd better to know that i have this code : <script type="text/javascript">var 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 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 > sitehttp://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