@# Quotes DB     useful, funny, interesting





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



Comments:

<0> |02|x|x|x|^|Verdana|^|Elo Draconic
<1> |02|x|x|x|^|Verdana|^|how would i write a function to check if there is unicode text in a var... like var x = 'sometext'; to check if there are strange signs in it or not... ( if no strange signs return true; else return false; with some alert or something )
<1> |02|x|x|x|^|Verdana|^|ello Neo :)
<0> |02|x|x|x|^|Verdana|^|Draconic you need to use a normal IRC client to talk here what are you currently using
<1> |02|x|x|x|^|Verdana|^|heh
<1> |02|x|x|x|^|Verdana|^|mIRC
<1> |02|x|x|x|^|Verdana|^|ah
<1> |02|x|x|x|^|Verdana|^|sorry



<1> |02|x|x|x|^|Verdana|^|sec
<1> better now ?
<1> i had to unload my theme
<1> sorry
<2> Much.
<1> sorry
<1> i did not notice
<1> i forgot about it
<1> my excuses
<1> should i repeat my question ?
<2> Define strange
<1> hmmm
<1> like signs with
<1>
<1> things like that
<1> so it only does
<1> 1-0 and A-Z a-z
<1> and the _ and -
<2> The easiest would probably be a regexp.
<1> thats new to me
<1> how would that work ?
<1> any examples or manual or where i can read about that function ?
<2> It's not a function, it's a concept.
<1> ah
<1> ok
<1> :-)
<1> gonna google on it
<2> Regular expression
<1> :-)
<3> so uh.. anyone alive in here?
<1> yup



<3> well.. i've got a quirky little problem that's been annoying me for about the past week, and i just managed to track down what exactly is happening.. i just don't know why
<3> i've got a javascript function that's triggered by an image mouseover, and pops a div element up to the top layer, sends a query back to the server for some info to populate it with, and then does it...
<3> it's supposed to maintain the div's visibility as long as the mouse is over the img or the div itself, but if it mouses out of those items, it disappears (moves back to z-layer -1)
<2> http://www.quirksmode.org/js/introevents.html
<3> let me take a look there real quick
<3> well, the events are firing just fine... the problem has to do with what it considers the div to be...
<3> basically the div contains 2 other div's, but the outer div wrapper has the id value with the event attached... but when i mouseover that div, it works through the padding area of it, and as soon as it crosses over one of the internal divs, it fires the mouseout event
<3> even though it's still hoverring over the div that's got the mouseover event attached, if that makes sense.. i could show you guys the page if you're interested
<2> Read it all. There's several pages.
<3> ok, i'll get reading
<1> Pilum ?
<1> i got it working but i do have a question
<1> would you have some time ?
<2> Depends on the question.
<1> well i now got
<1> var x = /a/;
<1> but is ther a way i could do it as
<1> var x = / othervar /;
<1> ?
<2> Um.. not to my knowledge. Why would you want to anyway?
<1> couse i want to use it in a function
<4> new RegExp("..." + ... + "...") etc.
<2> Hm yes. The constructor.
<1> hmmm
<1> sec
<1> http://pastebin.ca/331423
<1> would i replace the var pattern = with var pattern new RegExp(variable); ?
<1> var pattern = *
<1> nvm :) ty dave-e
<1> i fixxed it
<1> you guys rock
<5> Pilum, do you know what id use instead of foreach
<5> for instance i need to say forreach array item add array item
<2> for
<5> but then how does that work pls excuse me for bn so stupid, but i have never need to use for because of the wonder of foreach
<2> Well js doesn't have "the wonder of foreach".


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#c++
#AllNiteCafe
#skype
javascript onfocus onlostfocus
#linux
misskitten techno
saharashop.nl
ArrayConfigU2
ernet.org
start two programs +script



Home  |  disclaimer  |  contact  |  submit quotes