@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> this.form.action='submit' is ok??
<1> Action is the page you want to send it to...
<0> oh yes yes! sorry
<0> thanks man
<2> hey, i am tring to do a script that loads on start, (i dont want to use body onload..) -> window.onload=function(){ alert('aaa');
<1> And?
<2> and what?
<2> :]
<1> What about it? There must be some problem you have since you mention it, yes?
<3> :>
<3> var objekt = document.getElementById('input'+what); remO = document.removeChild(objekt); <- why do i get here "invalid argument" ?
<1> Because it needs to be a direct child.
<1> objekt.parentNode.removeChild(objekt);
<3> ah
<3> still the same :/
<4> code to the studio !



<3> document.parentNode is empty or does not exist
<3> oops, or is not an object
<3> sir_J?
<1> Of course document.parentNode doesn't exist.
<4> pieg, show you code
<1> Pay attention to what I wrote.
<3> so if i got it in a form, i dohave to type forms['formname'] instead of parentNode ?
<1> Sheesh
<3> yeah beat me\
<1> I gave you the _exact_ code you need.
<3> aaa
<3> damnit
<3> thanks :/
<5> hello people
<1> Hello.
<6> Hello King76, Pilum
<5> is there anyone who knows something about servlets
<1> Java servlets?
<5> yes
<1> Java has nothing to do with javascript.
<6> King76: I know one of the most weirdest things
<5> i know, but i didn't find any other java channel
<6> *its
<1> #java existed last I checked...
<5> o.k i am now connected to #java. thanks
<6> lol
<7> i wonder if people like javascript hate java. I work with java everyday, I still hate it.
<1> Good question.
<1> I'm no fan of java myself either.
<8> hello, can anyone tell be how to get the heigt of a page in javascript?
<1> Heh.
<1> Patience is the virtue most people lack nowadays.
<7> or brain
<1> That has always been a problem in humanity.
<7> cool, new icons for me to "borrow"
<7> heh
<9> ht311 no you cant borrow them
<9> prv
<10> sup
<7> i am j/k
<9> you`ll like that prv message mate
<9> 6 gig of icons in that database
<11> hello guys, http://pastebin.com/733183 <---- this is a strange case, why the trick ???, some good friend can explain me??? (no is a homework)
<12> 'night all
<1> Why what trick?
<11> is a way to say
<11> if i use RegEx the code no work
<11> and is the same patron
<11> put a number with or without a dot and 2 numbers more
<1> Patron?
<11> the regex espression :9
<1> Pattern?
<11> ^\d+(\.{0,1}\d{0,2})?$
<11> or the other way
<11> ("\\d+(\\.{0,1}\\d{0,2})?","g")
<11> goodbye friends,
<11> good night
<13> How do I call a function whose name is stored in a variable



<13> Something like: var moo = "myCoolFunc"; moo();
<4> how can I create {} has from child window in parent window ?
<4> how can I create {} hash from child window in parent window ?
<4> opener.a = {}; doesn't work in IE
<4> but works in mozilla
<7> never good idea to mess between windows like that
<4> so what should I do ?
<7> write a function in the opener, call that function to do stuff
<7> IcyLiquid[a]: not a good idea either, what you really want to do?
<13> Im making a 'general purpose' AJAX function
<13> And I wanted to provide the desired callback function name via a parameter to that function
<13> Know what I mean?
<6> whats the problem?
<7> in the return just don't quote the function name, instead of a string, you are ref. the function object
<7> something like var mycallback = myfunc; to call -> mycallback();
<13> Well
<13> Function makeRequest(url,callbackName) { ... }
<7> function makeRequest(url,callback) { ... }
<13> And somewhere in there, I need to do: http_request.onreadystatechange = function() { callbackName(http_request); };
<7> http_request.onreadystatechange = function() { callback(http_request); };
<13> Ok... So then when I invoke makeRequest("http://somewhere","somefunctionname";) ...
<13> It works?
<7> try it first
<13> Okie
<13> Callback is not a function
<13> Oo
<13> I got it
<13> Thanks
<13> I didnt know JS could do that... I suppose I shoulda known since you can do if (document.somefunc) { ... }
<7> yup, part of the understanding of function object. if you think you need try something like that from string, 99% of the time, you don't need that
<13> Awesome. Thanks ht311 :)
<13> Off tp create evil AJAX wizardry ... Or something
<6> \m/ javascript \m/
<6> IcyLiquid[a] - bear in mind that
<13> Yes... Thanks for your profound insight :D
<13> I am learning to love and hate it simultaneously
<7> if you hate it, you are doing something wrong as well :)
<6> its your friend
<6> love it and it loves you
<13> Well no
<6> :p
<13> See I hate it because I can see in my head, all these freaking awesome things I could do, and then I have to go bash my face against google's thorny searchbox till I learn how :D
<13> Also I am learning that IE can burn in hell for having such retarded layer handling. My app looks pristine in firefox, and crap in IE :*( even though I am using all standards compliant XHTML
<7> beside sleeping, eating and pooping, everything else you do need to learn.
<7> becareful, we have a lot IE lover here
<13> They can also burn :D
<7> i just found annoy slowness in FF this morning.
<13> Hehe
<13> I just wrote a nice PHP cl*** that autovalidates my forms... And whats the first thing I do? Switch to AJAX and make it useless >_<
<1> Heh.
<13> Yeah :/
<6> happens
<7> you should still validate in serverside
<13> Well I am
<7> you should make your cl*** able to output javascript code to validate
<13> Well it does
<13> It even highlights the broken fields
<13> And provides nice contextual errors for them
<7> so it is not useless
<13> Well I have to heavilty modify it now
<13> To make it work effectively with this new dynamic back-and-forth i'll be having with AJAX
<6> IcyLiquid[a]: Ajax will become something natural
<6> I had the same expierence when doing with the ugly postback stuff with C#
<1> It will become a bandwidth killer I think. :-)
<7> go buy a big bottle and drink it as well
<6> aspx
<6> bandwidth killer?
<13> I would think it saves bandwidth
<13> Since you dont submit whole forms, and keep having to reload pages over and over
<6> yes I think likewise
<6> the server gets some relief for sure
<13> Maybe, maybe not


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

ricetti ta farah
linky kuto
#c++
#apache
repair xavi x7722r+
valeri bertanelli
#linux
Could not build kernel module
live fottbal
are cineva faron young?



Home  |  disclaimer  |  contact  |  submit quotes