@# Quotes DB     useful, funny, interesting





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



Comments:

<0> idea for jscp, http://www.nikhilk.net/Project.JSUtils.aspx, i like the condtional directive.
<1> what was that url?
<2> domapi is really cool
<2> i hope my client purchases it for me...he agrees its the best he's ever seen
<2> btw, how to check if a variable has been declared or not?
<3> hm



<3> You should know that without checking.
<3> but other than that, you can use typeof(identifier) == "undefined"
<2> hmm i dont get it. i actually have a function on page load that should run only if a variable already exists
<2> but when i do if (table***ist == "yes") {renderTables()}, it wont work unless ive declared table***ist already
<4> Does any of your guys know if it is possible to "store" HTML in a form field ? It is possible to type HTML in it - but what if it is added using a PHP script? "> would close the input fields value-attribute :(
<5> <textarea>
<5> And also off-topic for the channel. :-)
<6> and use htmlspecialchars()
<4> Of cause!
<4> Textarea - I can't believe I didn't think of that
<4> Your guys rock!
<4> Thanks alot :)
<4> Pilum: Yea, a little off topic. But I was actually thinking of creating an implementation of HTMLEntities() from PHP in JS
<4> .. but that would be a lot of replace(..)'es :)
<4> Greetz :)
<4> Does any of your guys know how to add a stylesheet to a document using JS ?
<4> Hm, I'll try appending a child to the head section
<4> Hopefully that works :)
<4> http://pastebin.com/728234 - Can anyone see why my StyleSheet is not added? iFrameDocument holds a reference to a document within an iFrame
<7> hi
<8> And how do you define iFrameDocument?
<9> is there a way w/ javascript to change what css file(s) are used on a website on the fly?
<9> like with onselect for a <select>
<5> x86-64: Yes.



<10> Hello Pilum, x86-64
<9> so what's the idea?
<5> http://www.dzr-web.com/misc/stylesheet-switching/ should give you the general idea.
<9> thanks
<11> hi
<11> does anyone know how to read text files with javascript?
<5> You can't.
<11> :(
<5> Javascript has no file object.
<11> there is no way to do that?
<11> :(
<5> Not with javascript alone, no.
<12> salut
<12> cine stie unde sa-mi fac user????
<5> English.
<5> Always ***ume the language is English in a public channel.
<5> Sometimes I'm tempted to ban *.ro
<10> you know javascript is powerful as flash
<10> or at least almost
<13> hi
<13> why myLink.onclick = new function() { return false; } doesnt cancel the link as <a onclick="return false;"> please ?
<13> why myLink.onclick = new function() { return false; } doesnt cancel the link as <a href="..." onclick="return false;"> please ?
<14> hi
<14> i m using self.close() javascript to close window
<14> but then it appear a popup window asking if i really want to close window
<14> how can i avoid it? 0_0
<13> pib: dont use popup, this way you avoid your problem
<14> yes :)


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linux
php_writeexcel merge cells
cyprus chatzone
#c++
#linux
pear.exe
#linuxhelp
#php
dilayyyyyyy
ifstream flock



Home  |  disclaimer  |  contact  |  submit quotes