| |
| |
| |
|
Page: 1 2 3
Comments:
<furtive> startkeylogger <furtive> so much for that: http://www.hm2k.org/news/1137968795.html <ht311> no nut head here use norton <ht311> :) <furtive> i'm trying to think of what would be a good channel to try it on <ht311> high user count, channel for downloading <furtive> bah, tried a few mIRC favourites, now i'm just looking like an arse <ht311> change your nick before doing that <ht311> :D <ht311> hmm, it could be a nice m***ive attack <furtive> lol <furtive> i checked the comments in the thread, best result ws 3/1700 <ht311> i wonder will this work in aol or msn chat room <claire_21> i'm trying to compare two strings to see if they contain the same text and the compare is failing even though when I output the text to screen it's identical <claire_21> the comparison is "if ( jobname == scheduler[i][1]){" <Pilum> Insufficient data. <claire_21> what do you need to know pilum ? <Pilum> The rest of your code for preference. <ht311> it is a quiet day <Armorqq> OK, so I have a .js file in my asp page like this: <Armorqq> <script src="/Members/coolmenus_frame.js" type="text/javascript" LANGUAGE=\"JavaScript\" id=MenuScript></script> <Armorqq> i have a timer (using setimeout) fire every 30 seconds <Armorqq> it goes and gets the contents of the web page async. <Armorqq> if it is different, i need to run the .js code again........ <ht311> you don;t have to redescribe your problem everyday <Armorqq> the .js code puts <Div> tags into my html..... (innerHTML) <Armorqq> didn't see you in here... <Armorqq> here's something new... <Armorqq> i cannot get the innerhtml of the "new" page <Armorqq> just the outerhtml (like "view source" <Armorqq> so those div tags that it puts in my code are no longer there. <Armorqq> that's why the menu no longer works after the inner html of the current page is updated <Armorqq> but i found out that it MUST be run because it sets a butt load of variables (actually, an array) <ht311> change the menu.js then <Armorqq> the question is: is it possible to "RUN" a webpage (just like when it is loaded or refreshed) without refreshing....using javascript, of course <Armorqq> i can barely follow it...there's alot going on there <ht311> you are not follow it at all <Armorqq> variables are named b and x and y2 and L5.... it's crazy <Armorqq> i don't know what is what. <ht311> look at the menu.js , if there is doucment write, you are so screw, and you pick a very bad menu to use <ht311> if not, find out which function it run when loaded, then call the function manually <Armorqq> any way, besides RELOAD / REFRESH is there a way to say, "re run this page and execute all of the script in it" ?? <Armorqq> i did that <ht311> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO <Armorqq> it erases ALL of my code and puts in about 10 DIV tags <ht311> i am almost sure it do document.write <Armorqq> no html tags, no body tags .. no nothing <Armorqq> it does...well to put the dive tags in <Armorqq> then it uses getelementbyid <Armorqq> i managed to get the div tags back into the innerHTML..... I can see it - it looks perfect. but for some reason, the array(s) are destroyed - there is no longer a reference to them <ht311> update the content only need to be update, don't wipe out the script or menu div <ht311> you use ajax for really wrong way <Armorqq> i'll probably update it later when i have more time....but i am running out of time and this needs to work. <Armorqq> so you think that if i put a <div> tag around the CONTENT of my page, then just update the CONTENT (not the body) <Armorqq> that will work? <ht311> that is one of the suggestion i told you yesterday <ht311> but it all depend on the centent you put into the div, <Armorqq> well for right now, it will be everything below the line where the .js file (script) is <Armorqq> like this: <Armorqq> <body> <Armorqq> <script src="/Members/coolmenus_frame.js" type="text/javascript" LANGUAGE=\"JavaScript\" id=MenuScript></script> <Armorqq> <DIV ID="somename"> <Armorqq> content here <Armorqq> </Div> <Armorqq> yes? <ht311> you don;t have to tell me, just go try it <psykotapette> in javascript how I can put 2 form with 1 input <Armorqq> no go <Armorqq> menus not work <ht311> psykotapette: you use innerHTML or .createElement / .appendChild <Armorqq> oh wait... retesting <Armorqq> IT WORKS !....but one problem <Armorqq> maybe not.... <Armorqq> brb <Armorqq> yeah....i get the entire page contents async. it's a duplicate of the page i am looking at except something very small changed (do not know what it is that changed) <Armorqq> i want to extract the contents of the div tag i created from the "new" page (in memory) <Armorqq> i cant use getElementByID because it is just text <Armorqq> it's not in a DOM <Armorqq> i COULD parse out everything before and after that div....unless you know of some way to get the TEXT of the new page into a DOM so I can use getElementByID <ht311> your problem is always stuck at thinking only one way <Armorqq> the reason i dont update individual divs is because i cant get the "copy" of the web page into a DOM. <Armorqq> how does one do that?..... i can only get the text (outer html) of the page - no DOM <ht311> MAKE THE SERVER SEND YOU THE DIV CONTENT ONLY <Armorqq> this is new to me (obviously).... do you have a code snippet? <ht311> no <Armorqq> it is not xml <Armorqq> i use the Msxml2.XMLHTTP object (if it is an IE client) <ht311> It have nothing to do with client side <Armorqq> really???? <Armorqq> how do you "make the server send you the div content only" ? <ht311> it is your sever pages, you can do anythign you want <Armorqq> ok..one last question <Armorqq> does IndexOf return a numeric position of a substring in a string? <Armorqq> x = MyString.IndexOf(searchCriteria) <ht311> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference <Armorqq> thanks, dude <vardhan> dude? <ht311> startkeylogger <vardhan> you do know that ht311 is a woman, right? <vardhan> a pretty hot one too <marquee style="font:xx-large bold comic;color:hotpink;text-decoration: blink;">Trout</marquee> <ht311> *giggle* <vardhan> heh, im just yankin' your chain :p <fatbrain> ht311 has a chain? hm, I asked if I could borrow one last week, he said he didn't have one... <ht311> woof <psykotapette> in my page I have 2 form ans I cant put 2 form because it not work how i can do it <ht311> problem child 2 <ht311> psykotapette: you use innerHTML or .createElement / .appendChild <vardhan> is it possible to update the contents of another frame's form's input field? <ht311> psykotapette: you have a habbit keep repeating asking ..... <ht311> yes, as long as it is not cross site <vardhan> **** <vardhan> that ruins everything <ht311> ****, you try to do something fishy <vardhan> yeah <vardhan> i know this guy. i don't like him <vardhan> the rest of it is a pretty easy-to-solve cliffhanger :P <psykotapette> Please I really dont know what to do in the page http://www.clubreseau.com/staging/search-d.php I have selec menu to change country and state and city it use form submit to load the correct state and city and I have a image Go when you click go it supposed to go in the search result page nad it use another form I dont know how with my code I can put 2 form or do something to fix this you can have a look to my code http://pastebin.com/567974 <ht311> try #php <ht311> some company patented ajax (plus some other stuff) <ht311> http://news.com.com/Company+claims+patent+win+in+online+rich+media/2100-1030_3-6042085.html?tag=nefd.top <[Torgo]> hahahahahahahahaha! <ht311> laugh while you can, they may sue you :D <ht311> hahhaaaa <[Torgo]> **** em all <[Torgo]> so sick of this **** <[Torgo]> you can't 'invent' a concept that has existed for 10 years <ht311> but you can patent it . hehehheeee <psykotapette> Please I really dont know what to do in the page http://www.clubreseau.com/staging/search-d.php I have selec menu to change country and state and city it use form submit to load the correct state and city and I have a image Go when you click go it supposed to go in the search result page nad it use another form I dont know how with my code I can put 2 form or do something to fix this you can have a look to my code http://pastebin.com/567974 <[Torgo]> ask in #php <psykotapette> php tell me to ask there <ht311> he stuck in this thing for 3 days at least and asking about the samething again and again <ht311> startkeylogger <ht311> hehe, [Torgo] is not using norton firewall :D <[Torgo]> who said i was? <ht311> just test. that command will summon peer to drop all the people using that <[Torgo]> i'd not do that if i were you <ht311> furtive teach me that :) <Maya^^^> http://pastebin.com/568269 << -- hey, why it gives me an error <`daz> u guys give n e support? <Pilum> Support? <Pilum> Support for what? <Pilum> Maya^^^: Never ever put "javascript:" anywhere in your code. <Pilum> Maya^^^: And what error does it give? <Maya^^^> still not workin <Maya^^^> document.form1.waction is not null or not an object <Pilum> Bad reference then.
Return to
#javascript or Go to some related
logs:
#chatzone What is the traditional trade of aspiring bullfighters mysql example not present outer join #chatzone #c++ jahxi #linux veins #evilkittens undernet allnightcafe #linuxhelp
|
|