@# Quotes DB     useful, funny, interesting





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



Comments:

<0> pb.html-channel.com
<1> Pilum it's pasted with the name insane_x
<0> You're supposed to paste the url you get here.
<1> http://www.html-channel.com/pastebin.php?id=6
<0> ...and?
<1> you have any Idea of how can I get the Iframe source ?
<0> Not in VB.
<1> in what then?
<0> Depends on what you have available I guess.
<1> the situaltion is : In a web page there are an Iframe with a link on it , I want to make a prog to get this link from the original web page url
<0> I can tell you one thing though.
<0> Javascript is probably _not_ what you want.
<0> Not if you plan to store the link.
<0> If that's not what you want then explain the whole situation instead of just giving vague hints about what you're trying to accomplish.
<1> I want to make an automated thing to "clik" on pub adds on a web page, the link on the banner change every 20 minutes
<2> Can anyone help me with a couple of lines of js?



<0> self.frames['iframename'].document.links['linkname'].click(); maybe
<0> gooman: Explain the problem first.
<2> disabling a couple of form text fields depending on the selection made in a <select>
<0> Simple enoguh. So what have you done thus far?
<2> How many lines can I post without getting a-holed from the channel/server? 10?
<0> 0
<0> Use a pastebin
<2> how/where/wtf?
<2> pastebin?
<0> Sheesh.
<1> pb.html-channel.com
<2> :P
<0> I thought the concept of pastebin was common knowledge by now.
<2> haven't used irc in years :)
<0> You paste the code in one and paste the resulting url in the channel.
<0> InSaNe_X gave you the link to #html's.
<1> no , I will do now
<1> @Pilum self.frames['iframename'].document.links['linkname'].click(); maybe
<0> ?
<1> Are they any solution to store the link on a file for example ?
<0> Not with javascript.
<2> It's in pastebin
<0> And the url??
<2> The first alert('booya') works, as does the alert(txt), but the fields don't change and the alert('booya2') does not appear.
<2> http://www.html-channel.com/pastebin.php?id=1
<2> The alerts are merely there for debugging, obviously. :)
<0> Testing on .text? That's original if nothing else. :-)
<0> And with .match too
<2> Okay, so can you see where the problem lies, or have any suggestions how to do it better?
<0> http://www.html-channel.com/pastebin.php?id=3
<2> Okay, so test the value instead of the text.
<0> That's just my preference though, since the value is shorter.
<0> (Note the comment on line 25)
<2> That worked great. Thank you very much. So what in particular didn't work in my script... was it the txt.match?
<0> Possibly.
<2> Oh, okay. Cheers.
<0> Had you had more options, I would have changed to a switch() as well I think.
<2> Do the switch() function in javascript operate in a similar manner/syntax to that of switch() in php?
<0> Yes.
<0> Same syntax in all c-style languages to my knowledge.
<2> Great.
<3> guys, "target" on forms will send me on a new page if the frame is added dyanamicly
<3> any work-around?
<4> Anyone want to earn a quick 20?
<4> I need someone to debug some simple code for me
<4> I can't get it to work.
<0> Heh.
<3> Pilum: any idea?
<0> Dunno. Never tried.
<0> Hardly ever work with frames these days.
<3> it's an iframe
<0> Still.
<3> it's cool
<0> Not really.
<3> I'm using it for loading stuff
<3> It is.
<3> :D
<3> I hate this mouse, I droped it once and now it double clicks everytime I click on something
<0> Some would probably consider me a heretic, but I still swear by the good 'ol plain microsoft mice hehe.
<5> lol



<5> i use there mice and keyboard
<0> KeyTronic plain keyboard and microsoft plain mouse.
<0> I even spilled soup in this one once, and it still works. :-P
<3> I have ms too
<3> keyboard and mouse
<3> the keyboard is working after more than 10 punches
<3> it's a lil cracked on the margin, but it's ok
<0> I got a solid desk which I hit instead.
<3> good idea, cuz I'm kinda inlove with my keyboard :D
<3> it has been next to me for too long
<3> document.forms['formname'].target .action
<3> are those propertyes ok?
<3> target and action?
<0> Yes.
<3> tx
<6> yow, how do i access the function from a parent objet?
<7> ?
<0> ?
<7> Sorry, window opened too quick.
<7> http://pastebin.ca/44795
<7> The pastebin is my current code to do simple calulations and put them into text fields. I now need to take all the text fields and add them together and put them into one text filed like a grand total. I am lost as how to do it.
<0> parseInt()/parseFloat() on the values
<7> Can you give an example? I mean I got lucky and found a lot of this on the net, and hacked at it until I got something to come up.
<7> I have no real experince
<7> And I did read the rules, as you can see by the code. I used pieces I found all over the place to make this work.
<0> Google for it. Once they're converted from strings to numbers you can do the usual mathematical operations on it.
<7> Okay, so the Text_Amount_HB2.value needs to be converted first, and then stored into an integer value?
<0> Doesn't need to be stored. But yes.
<7> What happens to the value that is put into the text box if I convert to interger?
<7> integer.
<0> Depends on wether the value in it is an integer or not.
<0> Well, actually, nothing happens to the value in the text box, but the result you get from those functions are numbers.
<7> Well it is being driven by a drop down. Like say the drop down is a value of 5 I then multiply that by the dollar amount s 5 * 20 is then 100.00
<0> And?
<7> So it is still and ingeter right, I really don't covert to a string do I?
<0> .value _is_ a string
<7> Ah! okay.
<0> And when you try to use '+' on a string you concatenate.
<0> Hence why you must parse to int or float.
<7> Ah! okay well I understand how each one of my text boxes are getting filled now, but the grand total box would have no action on it, so how would you go about getting it to be populated? I mean like a shopping cart that has a total box and it is updated each time something is added?
<0> Just have all the other form elements run the sum function onchange.
<7> Okay right now each drop down and text box has it's own function.
<7> Your suggestion makes sense but it also means a rewrite
<7> oh well I guess I got time.
<7> Thanks Pilum for your suggestions
<0> After 4 days of installing and configuring Gentoo, this is the first he says:
<0> <HypnoGenX> Gonna install WINE.
<0> <HypnoGenX> So I can run mIRC.
<8> lol
<8> http://edit.pixoh.com/1d2e6fipie
<8> although it seems to be slashdoted
<8> meh, ****s
<7> he should learn to use bitchx
<8> i should put some pants on
<9> furtive: is ok, nothing really new
<8> agreed, i thought there was going to be more to it
<10> hi
<8> hi
<10> i got issues with radio buttons
<9> heh, i think eidolon's one is more interesting http://home.flodhest.net/html/resize.inc
<8> what's the issue?
<10> http://html-channel.com/pastebin.php?id=4 i get null or no value on all my onclicks
<8> all of your radios should have the same name
<8> at least all of those part of a group
<0> Radios are arrays
<8> you should reference them with document.myForm.radioName[x]
<0> Or accessed like arrays anyway
<8> where x is the index of the array
<10> so the first one should be 0 or 1
<8> 0
<8> arrays are zero based in javascript
<10> ok
<10> trying..


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

linux exploit 2.6.5-1.358
#linuxhelp
getResoruceAsStream
pictures tanzmania australia
did the Crane brothers run the length of in a record 101 days in 1983
cheilou
marco massini
resimtakasi
#mirc
fcgid apache 1.3



Home  |  disclaimer  |  contact  |  submit quotes