@# Quotes DB     useful, funny, interesting





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



Comments:

<0> i just need some direction
<1> http://www.neofuture.co.uk/dragdrop.php
<0> should I post my script I already have
<2> sure, use a pastebin such as http://www.nomorepasting.com
<2> neo, only drop those two pics? just gives name of pic?
<1> huh
<0> ok I have it pasted
<0> I am doing a form with javasript validation
<0> and I am having problems getting it to read my time and date values
<1> nah its got tm be able to drag files into folders (span)
<0> The date is not empty and not equal the format string (mm/dd/yyyy)
<0> The time is not empty and not equal the format string (hh:mm)
<0> that is what I have to do to part of the script for the cl***
<0> any suggestions?
<0> I pasted my script on http://www.nomorepasting.com and the subject is Form with Java script validation... Need help with time and date values!!!
<2> yeah, i'm looking at it



<2> one sec
<0> thanks
<2> so what's the question?
<0> i cannot get it to give me an alert when hh:mm or mm:dd:yyyy is in the time and date fields.
<0> it only works when the fields are empty
<2> yeah, change your if statements. for example:
<2> if( "" == document.picform.date.value || time == document.picform.date.value)
<2> although the words time and date are a bit misleading, it's more of a "time format" and "date format"
<0> i think we are going to build on it on our next ***igment
<0> what does || mean
<2> it means OR
<0> would I need an and
<2> no
<0> cool i am going to try
<2> 'cause it will never be empty AND have timestamp in it
<2> it will either be empty OR have timestamp in it
<2> or else it will be "valid"
<2> oh, ****, i put time but i meant date
<2> if( "" == document.picform.date.value || date == document.picform.date.value)
<2> although you'd also do the same thing for the if related to time
<2> you get what i mean?
<2> it's still pretty weak validation though, 'cause i could put "banana" as the date and it would accept it.
<0> im a newbie
<2> that's fine.
<0> i edited my line but it just skips over it now
<0> wait i needed an !==
<0> it works now
<2> uhm, no
<0> !== means not equal
<2> you mean != ... not !===
<2> you mean != ... not !==
<2> sorry, typo the first time
<2> and i know what it means. and you don't need it.
<2> i'm trying to help you here.
<0> sorry i meant does !== not equal
<0> i got it excited when i thought it was going to work
<0> != does not work thought
<2> i never said it did. use this:
<2> http://www.nomorepasting.com/paste.php?pasteID=57168
<2> you don't want to use != because there's nothing you can exactly make it equal to when validating it.
<0> man i love this channel
<0> i am taking this cl*** over the net and I have very little direction
<2> thnx
<0> thank you
<2> np
<0> hey i have onfocus="this.value='' in my input element
<2> yeah
<2> not really a smart idea
<0> if i change it to onfocus="this.value='date' will it auto put mm:dd:yyyy when field is wiped out
<2> what if i put a time and then go back to change it, i lose the previous value completely. or if i tab across fields and don't change anything.
<2> no
<0> yeah i need to change that
<2> but if you put this.value=date it'll probably work because date is global.
<0> i did that and it puts [object] in the field
<2> heh
<2> then i guess not
<2> you could have this.value=someFunc() and have someFunc() return date;
<1> screw drag drop im doing copy/paste
<0> thanks for your help i am going to go back and read some more of the book to see if i can figure out a way that my teacher wants it done
<0> you on here a lot
<0> ?



<2> i'm an op
<2> so i try to be.
<2> if not me then someone else.
<0> do you now of any good php channels we are doing php after the javascript
<2> #php ... dunno
<2> don't touch the stuff
<2> ^i
<3> ;) that's the spirit.
<4> php rotten your brian
<2> and your brain
<4> http://bbspot.com/News/2000/6/php_suspend.html
<4> i am very full
<4> you want some leftover?
<4> ;)
<2> nah, i'm full too. had ben & jerry's ice cream for dessert.
<2> hey NeoFuture ... ever since i dragged a pic of mine into your drag dialogue I've had a blody alpha of the picture ghosting on my desktop....over anything i put over it. suuuucks.
<4> his thing is down
<5> hey
<2> hmm
<5> is there a way i can make the browser connect to a link by skipping the proxy options ?
<5> i'm in a student campus and we have to use a proxy
<5> but, of course, for in-campus servers we must remove the proxy ...
<2> tunnelling. it's not within the realm of this channel.
<2> or just change the settings in the browser, no?
<5> yes, that's what we're doing
<5> but we have to change them very often
<2> so do what I do... at work i use IE and home I use firefox.
<5> and we can't browse local and external pages at the same time this way
<2> have diff proxy settings on each
<5> yeah, i get your point
<5> is that the only (reasonable) option ?
<2> dunno, maybe there's an extension in firefox to toggle them easily.
<4> or use google as proxy
<4> http://www.oreillynet.com/pub/h/4807
<5> good idea
<5> ht311: i want the local links be browsable, even with the proxy settings activated
<5> ... the other way around
<4> use ie for internal and ff for external
<5> it's safer to browse the www than the campus web with ie :)
<5> thanks anyway
<5> i think furtive's idea might work
<1> i think i got my copy and paste working
<1> (but im not doing copy folders with stuff in till im more awake)
<4> you taking it to an extreme :D
<1> http://www.neofuture.co.uk/bitchunker/browser.php
<1> copy ad paste world cross frames too
<1> (no not cookies)
<4> script error on frist load
<4> line 416
<4> it isfine when reload
<1> i dont get it
<1> restarted IE still dont hae it
<4> try control f5
<1> maybe i was saving when you tried it
<4> you make be launch debugger, i going to bill you hour ;)
<4> parent.frames.folders.highlight('folder', 0)
<4> the other frame is not ready
<4> geeze inline script :D
<4> should use just one page , now the limitation start coming, can't drag drop across frame
<1> yyeah i knoe shoot me
<1> +-lol
<3> good thing I don't need beautysleep
<3> Just finished watching 14 episodes of My name is earl.
<4> how's that?
<3> I'm gonna top it off with The Game. It's a good movie.
<3> Because I'm so freaking beautiful?
<3> and I have to be at the gym in 1h
<3> so there's no point sleeping.
<4> you are not a true nerd. you go to gym?
<4> :D
<3> yeah, 6 days / week
<2> The Game is a good movie


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#skype
#php
#c
idsecuritysuite
smile-hu
#php
#php
#AllNiteCafe
stevie nicks cocaine enema
#linux



Home  |  disclaimer  |  contact  |  submit quotes