| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> i have page in quirkmode and pages in strict mode <1> how do i create a div with vertical scrollbar that is always at the bottom? <2> set scrollTop equal to scrollHeight <1> wow. I was searching for that for a while now. and that only the answer. Thanks Torgo <2> np <2> next time come here first :P <1> ok Ill do that. Thanks <0> Zefir: it is your lucky day. I never hear something like that from him :D <1> :) <1> window.open works fine in Firefox but when i click it on IE it says The system cannot find the file specified <0> use a pastebin <1> how? <0> http://www.html-channel.com/pastebin.php
<1> i paste it <1> i will give you the link from the address bar? <0> and the link ? <0> sure <1> http://www.html-channel.com/pastebin.php?id=6 <0> need to see how you launch it too <1> http://www.html-channel.com/pastebin.php?id=1 <1> :( <3> add return false; at the end <3> and remover javascript: <3> remove <1> oh yeah. it was from href <1> same. system cannot find file specified <4> evenin, anyone home? :D <5> none <6> Pilum, sup? <7> Clouds full of snow. <6> k <8> hey guys <7> Hello <8> having trouble with some javascript ajax style thing anyone free for a hand? <7> Just state your problem. <8> i posted it on sitepoint :) http://www.sitepoint.com/forums/showthread.php?t=351874 <6> _Dom_: what problem are you having there? <6> I see everything ok, whats the error you get? <6> I can only see you're missing a } at the end <8> i get the most unhelpful error <7> In IE's built-in "debugger"? <8> firefox's <8> sndReq is not defined <6> ahh <6> sndReq(document.getElementById(username).value); <6> you're missing single quotes there <6> it should be: sndReq(document.getElementById('username').value); <6> but if you want to be right: change this for: document.registerform.username.value <7> Errr.... innerHTML on an <input>? Heh. <6> you're doing the same at: document.getElementById(usernamestatus).innerHTML <6> missing quotes <6> it should be: document.getElementById("usernamestatus").innerHTML <8> ok 1 min lunch time :) <7> Missing the point as well. <7> Inputs don't have innerHTML, they have value. <6> Pilum: when he's refering to usernamestatus is a div <6> he was getting .value on the input <7> Ah yes. <6> but he missed quotes on both lines. <7> My guess is that the handleResponse function doesn't pick up the http object. <6> I think the only problem he has is the quotes stuff, cause everything else should work fine. <7> I have a similar solution here, and when I modify mine to do as his does, it won't work either. <6> ok <6> youre right <6> thats why I like using Sarissa <8> ok im back :) <8> so its my handleResponse? <6> _Dom_: first fix your document.getElementById... <8> ok doing soon :) <8> no change <6> make sure you're getting the Activex Object <7> Drop the ID on the input and use a reference through the form instead too. <6> and if you really want your XMLHttp to be cross browser compatible, use Sarissa <7> His is cross browser compatible.
<8> googling Sarissa as well as we speak <7> Never heard of Sarissa myself heh. <6> Pilum: remember there is: "Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP", "XMLHTTP" <6> sarissa gets the one the browser really needs <6> http://sourceforge.net/projects/sarissa <8> any example code? <6> and you handle everything the same way, the difference is that you only need to get the object: var xmlHttp = new XMLHttpRequest(); <7> Maybe I could have tested in more browsers, but I use the same method as _Dom_ and it hasn't failed me yet. <6> after that everything's the same <6> ok <8> so you think the problem is my handle response isnt...well handling the response <7> That would be my guess yes. <6> my guess would be... the Object is not returning :] <8> ok... well i used the 30 second introduction to ajax code, so it must just be me :p <6> ok, It worked for me <8> my code? <6> yup <8> oo <8> its working now <6> the only problem was what I told you at the begining <8> apart from my response is "undefined" <6> double quotes <8> lol <8> ill work on that <8> thanks a lot guys <6> yup, make sure your php is doing what you want <6> but I was relaying on what Pilum said (he tested it and it didnt work after fixing the quotes problem). <8> yeah my php is also broken but its a few missed ;'s <6> oki :] <9> hey <9> is there any way to find out what size has a file selected for upload (before it's uploaded) <9> ? <9> i browse and select the file and want to see it's size <7> Not with js <9> k <10> http://pastebin.com/573136 <6> optocus: make a server side script that returns the file size and submit the form to a hidden iframe. <10> whats worng here? <6> Am1A: nothings wrong there <7> Except that it's rather larger than neccesary. <10> onclick="return javascript:confit();"> <10> its okay? <6> Am1A: wrong <6> onclick="return confit()" <10> its on a href <6> it doesnt matter <6> if you use onclick you dont need javascript: <7> http://pastebin.com/573139 <7> In fact, you shouldn't have javascript: anywhere in your code. <10> expected )' <10> its writes me <6> Am1A: I dont know what you're trying to do, but returning true or false to an href wont do nothing. <10> tnzx <9> HuSoft that means i upload the file <9> i don't want that <7> Make a java upload app. <6> optocus: you dont need to STORE the file, just post it and do your calculation <11> yow, can anyone help me here? when an element (textfield, textarea) gains focus (onfocus), i want the caret to go to the end <11> on firefox. <11> i tried to use this.setSelectionRange(this.value.length,this.value.lentgh); <11> but it just selects everything. :( <7> Set .selectionStart and .selectionEnd to .value.length <11> FF ? <7> Yes <11> ok <9> HuSoft yeah but it takes time to load it especialy if it's big <9> i just wanted instantly <6> ok, you cant <7> Works in Opera as well, albeit slowly. <9> anyway doesn't matter... it was more of a thought but it would have been nice <11> ok <11> do i need a new Selection() ? <7> Not in FF <11> mind you, im invoking the function on focus
Return to
#javascript or Go to some related
logs:
#asm #MissKitten xnopix #linuxhelp carcinomaphobia fear
*-*members@mikeinbrazil.com #chatzone tijo18 #MissKitten #london
|
|