Welcome to the Browser-Base Game Zone forums!
Anyone else here believe that js was made to make their life hell?
I can send you pics of my cocks if you want reference.
133794m3 ... Javascript is reacting to your emotions toward him ( or her ) ...If you love js then js will love you in return. Kind of the mystico-religious side of programming.Philosophy: When you hate something you attract hate from it.Science: When you despise a programming language you usually make lots of stupid little typos that are almost invisible and you keep looking the wrong place for it.That explains why you have probs with js and and not me.I tend to love all programming language but I do have my preferences. But when a tool is there you would be dumb to not learn to use it properly.Regards,Stpinker
I tend to love all programming language but I do have my preferences. But when a tool is there you would be dumb to not learn to use it properly.
Quote from: stpinker on February 12, 2010, 06:26:17 AM133794m3 ... Javascript is reacting to your emotions toward him ( or her ) ...If you love js then js will love you in return. Kind of the mystico-religious side of programming.Philosophy: When you hate something you attract hate from it.Science: When you despise a programming language you usually make lots of stupid little typos that are almost invisible and you keep looking the wrong place for it.That explains why you have probs with js and and not me.I tend to love all programming language but I do have my preferences. But when a tool is there you would be dumb to not learn to use it properly.Regards,Stpinker I went into this with an open mind, i love what javascript can do it's an extremely powerful scripting language. And i doubt all of my stupid little typos as i'm currently attempting to use the jquery api. So all i did was run the function they told me to. I had a guy who helped me over there and he was unable to figure out why in the world it wasn't working. It just refuses to work, i have no idea why. It's just that javascript refuses to work for me. I've tried everything i can. And i doubt it's being dumb if you spend a couple weeks attempting to figure out why one function isn't working. Even though you set it up correctly, and you checked over the function you're calling a billion times and it still doesn't work.edit:I was goign to use it for a very simple reason. It looks amazing, i type it properly, and it's supposed to work. That's the plain point of it all, it's supposed to be working but doesn't. Javascript's amazing, but if IT refuses to work, i'll not use it. The amount of time i've wasted thus far attempting to get the thing to work, could've been spent other places and i've actually had gotten something done.
Quote from: stpinker on February 12, 2010, 06:26:17 AMI tend to love all programming language but I do have my preferences. But when a tool is there you would be dumb to not learn to use it properly. I tend to love only one programming language at any given moment and hate the rest during that time. It results in a more intensified love and the love is returned to me by superior coding speed in the Only True Love language stpinker, you... you unmoral polygamist Sanitity... It is such scarce resource among us coders...
Quote from: 133794m3r on February 12, 2010, 06:44:40 AMQuote from: stpinker on February 12, 2010, 06:26:17 AM133794m3 ... Javascript is reacting to your emotions toward him ( or her ) ...If you love js then js will love you in return. Kind of the mystico-religious side of programming.Philosophy: When you hate something you attract hate from it.Science: When you despise a programming language you usually make lots of stupid little typos that are almost invisible and you keep looking the wrong place for it.That explains why you have probs with js and and not me.I tend to love all programming language but I do have my preferences. But when a tool is there you would be dumb to not learn to use it properly.Regards,Stpinker I went into this with an open mind, i love what javascript can do it's an extremely powerful scripting language. And i doubt all of my stupid little typos as i'm currently attempting to use the jquery api. So all i did was run the function they told me to. I had a guy who helped me over there and he was unable to figure out why in the world it wasn't working. It just refuses to work, i have no idea why. It's just that javascript refuses to work for me. I've tried everything i can. And i doubt it's being dumb if you spend a couple weeks attempting to figure out why one function isn't working. Even though you set it up correctly, and you checked over the function you're calling a billion times and it still doesn't work.edit:I was goign to use it for a very simple reason. It looks amazing, i type it properly, and it's supposed to work. That's the plain point of it all, it's supposed to be working but doesn't. Javascript's amazing, but if IT refuses to work, i'll not use it. The amount of time i've wasted thus far attempting to get the thing to work, could've been spent other places and i've actually had gotten something done. What does your FireBug or FF error console say about the problem?
<script src="scripts/jquery-1.4.1.js" type="text/javascript"></script>
133794m3 ... Javascript is reacting to your emotions toward him ( or her ) ...If you love js then js will love you in return. Kind of the mystico-religious side of programming.
I thought JavaScript was a weird and broken language until I read the book JavaScript: The Good Parts. I've got a longer review on my blog, but in short: it makes sense of the language. Add tools like jQuery and Firebug, and it's pretty nice to develop in.Post your code, there's enough jQuery fans around to fix it. Or ask in #jquery on irc.freenode.net, lots of helpful folks there.
[i did post the code... that's the exact bit of code that's refusing to work what so ever. I used jquery since it was an ajax api, and also b/c it was going to do what i wanted. Which was to make my life easier with javascript.
$(document).ready(function(){..}
$(document).ready(function () { $('a.mainpage').click(function (e) { e.preventDefault(); $('#reusepanel').load('main/tos.php #tos', function () { $('#reusepanel').fadeIn(); }); }); });
<a href="#" class="link" id="tos"> --Terms of Use Agreement-- </a>
So what Firebug says? And which part works and which not?There are surely a sophisticated ways but I use alert() to determine that, would like to learn debugging with Firebug tooCan't see anything wrong now...For questions about JS it's often best to provide live example (link to the site or at least make example site)
oh ok woops sorry. it's kinda early...Code: [Select]$(document).ready(function () { $('a.mainpage').click(function (e) { e.preventDefault(); $('#reusepanel').load('main/tos.php #tos', function () { $('#reusepanel').fadeIn(); }); }); });and the part that's supposed to be working with it :/Code: [Select]<a href="#" class="link" id="tos"> --Terms of Use Agreement-- </a>I've also tried to do a <a href="javascript:function(){};" class="link" id="tos"> --Terms of Use Agreement-- </a>