@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<Djanov> thanks again exacube , bye
<exacube> bye
<Dj_Kamakazi> hi
<Dj_Kamakazi> does anyone know of an antiban script?
<exacube> wtf?
<melfar> you mean antiban javascript right?
<Dj_Kamakazi> well yeah
<Dj_Kamakazi> o.O?
<Dj_Kamakazi> like an addon which u can make or a snippet
<ClaudeVonKem> Hi!!! I have a question...
<ClaudeVonKem> I have 100 directories with images numbered from "01.jpg" to "30.jpg". However not all directories have 30 images. I.E.: some have 20 pics which are numbered as "01.jpg" to "20.jpg"
<ClaudeVonKem> I´m trying to create a code, using javascript, to open the last image from each directory. Any ideas?
<melfar> create an array containing the last numbers
<ClaudeVonKem> melfar.. but that wouldn´t be automated
<melfar> you can automate the creation of such array
<ClaudeVonKem> how?
<ClaudeVonKem> using jscript?
<melfar> definetely not by means of js
<ClaudeVonKem> I suspected that..
<ClaudeVonKem> anyways.. thank you very much!!!!
<melfar> np
<b4d> I need some help, how do i fix my page to select the proper item on my selects on other subsequent rows? http://paste.aernia.com/?show=80
<RoBorg> err
<b4d> heh
<RoBorg> just print selected="selected" into the proper <option>?
<b4d> im having it select the value in the drop down based on what it pulls from the db
<b4d> the current value for that record
<b4d> it works on first line
<b4d> row
<b4d> http://shopezstreet.com/q.php
<RoBorg> which <select>
<RoBorg> disposition or ***igned to
<b4d> either
<b4d> both
<b4d> if can do on one should be able to do the others
<RoBorg> all you need to do is get which one is selected from the database, then print <option selected="selected" ... for that one
<b4d> dude... you see the first row?
<b4d> its working on it
<b4d> but not the other rows
<RoBorg> err
<RoBorg> doesn't work here
<b4d> its not gonna update....
<b4d> i took out update/del code
<RoBorg> they're all selected on Call Back and nothing for ***igned to
<b4d> the first row... disposition is set to bad# right and ***igned to to "test" right
<RoBorg> nope
<b4d> hm
<b4d> dang ie huh
<b4d> great
<RoBorg> close your browser and open it again
<b4d> now i got two probs
<b4d> works in FF
<b4d> well disregard that... it works in ie in my real page
<RoBorg> given the code you pasted, there's no way it can work in anything
<b4d> well hell... let me see then
<RoBorg> it's probably just the browser rememberin what was selected, if it seems to work
<RoBorg> it's very simple to do...
<b4d> refresh it
<RoBorg> *bangs head on desk*
<RoBorg> why are you trying to do this in javascript?!
<b4d> you arent listening or reading or somethin...
<b4d> rows beyond the first one dont select the drop downs
<b4d> like row 1 does
<b4d> you know what a row is right?
<RoBorg> that's because you didn't tell them to
<b4d> heh jk
<b4d> yea i dont know what im doing wrong
<b4d> or missing
<b4d> its inside a php while loop, its getting the right value in the aid
<b4d> on each loop
<RoBorg> well first off, why aren't you doing this in PHP, which would be much simpler and much more reliable
<b4d> well its so close now i guess is why
<RoBorg> it's not close though heh
<b4d> cant get much closer
<b4d> its got to do with document.que.elements["***ignedTo[]"].value = aid; im sure, but i cant get it right
<RoBorg> http://paste.aernia.com/?show=82
<RoBorg> that's the kind of thing you want
<b4d> ill try
<b4d> hey man thanks... i got it... i have to put the php code on all available select options, but thats okay.... i guess.
<b4d> like http://paste.aernia.com/?show=83 on every select option
<RoBorg> easier to put the options into an array, but that would work
<b4d> yea i would like to make it like that... sounds tough
<b4d> http://paste.aernia.com/?show=84 for the record
<RoBorg> http://paste.aernia.com/?show=85 should do it
<RoBorg> err apart from there should be a capital D on disposition
<b4d> yea i saw that... still not working yet...
<b4d> http://shopezstreet.com/q2.php
<RoBorg> what's the code for that?
<b4d> oh..
<b4d> http://paste.aernia.com/?show=86
<RoBorg> no I mean the whole thing
<b4d> http://paste.aernia.com/?show=87
<RoBorg> ahh typo.. $ops[$i] should be $opts[$i]
<RoBorg> in the if()
<b4d> bam
<RoBorg> and the ***ignedTo select seems to be using the code u had before instead of http://paste.aernia.com/?show=82 kinda thing
<b4d> yea ill fix that one next
<b4d> bam you the man
<b4d> thanks bigtime
<RoBorg> np :)
<b4d> hmm dang my other select is populated from the db. instead of static arrays it would be different for it
<RoBorg> you mean the ***ignedTo one?
<b4d> ahh yes
<b4d> had to get some cereal... starvin
<b4d> http://paste.aernia.com/?show=87 lines 74-81
<RoBorg> yeah I gave you the code for that one: http://paste.aernia.com/?show=82
<b4d> oh
<b4d> bam!!!!!!!!!!
<b4d> heheh
<b4d> love ya man
<RoBorg> np
<dimple> for hire, im looking for an experienced web developer 4 yrs (ruby,php,ajax,xml,javascript)
<^^Neooo^^> hallo
<SJ-Pat> e.style.height ... what's wrong ?
<RoBorg> e is not defined
<SJ-Pat> function showhide(e){
<SJ-Pat> e.style.height = (e.style.height == 25) ? 295 : 25;
<SJ-Pat> }
<SJ-Pat> onclick="showhide(this);
<RoBorg> e.style.height = (e.style.height == '25px') ? '295px' : '25px';
<^^Neooo^^> RoBorg i need to modifie my page i need to if you dont complete information in my formulaire he say you error : complite enter your information
<RoBorg> ^^Neooo^^ errr try reading http://javascript.geniusbug.com/index.php?action=show&name=validation
<^^Neooo^^> you sepak french?
<SJ-Pat> RoBorg thx, it works... but... the fist time i click on it, i must click twice... after is ok ?
<RoBorg> add style="height:25px" to it?
<^^Neooo^^> RoBorg you have msn ?
<RoBorg> no
<^^Neooo^^> i have a serious problem you want i send you the page?
<SJ-Pat> RoBorg yeah, i have it ...{... height: 25px; ...}
<RoBorg> SJ-Pat no it has to be in style="" for JS to read it the first time
<SJ-Pat> oh, i see, d!oh
<SJ-Pat> OH! COOL ! thx... humm all style i want to modify like this, i must declare it inline ?
<RoBorg> nah just check in the code for it to == "" as well as whatever else
<^^Neooo^^> i have a serious problem you want i send you the page? RoBorg
<ht311> you don;t have to repeat yourself
<^^Neooo^^> :P
<RoBorg> ^^Neooo^^ paste it at http://pb.html-channel.com/
<^^Neooo^^> ok


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

maxbern
My two great-grandfathers, Henry Ford and Harvey Firestone used to go on annual
#javascript
#MissKitten
quddies
acidjunkies.com
uselib24 mambo
map network drive password doesnt' save
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes