| |
| |
| |
|
Page: 1 2
Comments:
<0> if i do that it will work <0> but if a need ajax in an other place, <1> how do i set the target on a form to an iframe (document.forms[0].submit(); ) <2> NeoFuture, target is a property of the form <3> the iframe monster didn't know that? <3> Ortue, encode you value properly <0> i need to change enter with a real carriage return char ? <3> that is up to you. <3> [Torgo] is right, you better stick with form post :) <0> but when a make a change in the form there is a list updated on the page, <3> I have no idea what you are doing. my suggestion will be listen to [Torgo] or learn everything query string , escape, encodeURI, encodeURIComponent <0> it is wierd because it work fine in mac, but i am the only one with a mac <0> i will read about that thank you <3> and what is line break too <2> especially trying to sell that crap on ebay
<3> hehe, those code may be some of the worst stuff I see in js so far :D <4> Hello <4> Presumably if you use XMLHttpRequest, you're meant to get an XML file <2> no law <4> Aye thanks, I am going somewhere with this <4> But if you do, how are you meant to parse the result from the respon***ML property? <4> I don't know what I can use to deal with XML <2> it's just another dom <4> I want to convert it into HTML, which I can do if I could use the data <4> Where is the documentation for this DOM? <2> you should use xslt for that <4> I know XSLT but I don't know how I can use it in my script <4> Basically I have this XML Document object and I don't know what I can do with it <4> I'm missing documentation, so any good links would be very helpful :) <2> http://groups.google.com/groups?lnk=hpsg&hl=en&q=xmlhttprequest+xslt <2> :P <4> I tried looking about XMLHttpRequest but they don't seem to go into much detail about what you can do after the request has been made <4> Oh so you have to request an XSLT file also <4> I still don't know the XML Dom though <4> I see they cover it ostensibly at w3schools <4> So is XMLHttpRequest the only way you would never need to use XML DOM? Because I don't understand how else you would end up scripting with XML <4> never = ever <4> transformNode is used to apply the XSLT, but w3schools is telling me that Firefox does not support this <4> Is this true? <2> more than likely <4> lol ;( <2> i personally do all my transforms on the server <4> Well then I will have to create the HTML using script <4> How do you transform on a server? <4> I guess you need an epic server? <2> coldfusion <4> Nyes well I am not using cf <4> Well thanks for your help <4> Seems like XML DOM doesn't use xpath at all <4> What sort of failure is this? <4> Oh heh they called it "patterns" not paths... <4> And not available in FF :( <4> getElementsByTagName() has been found! <2> yup, it's ajust another dom <4> Yeah but apparently it returns a NodeList which FF doesn't support <4> Although I find that impossible to believe <4> Since it supports the function but not the result? Unless it uses an array or something instead <2> dunno, i encapsulated this long ago in domapi and haven't dealt with the gory details since <4> You're an author of domapi? <2> the main guy, yeah <4> Epic <2> tnx <4> Do you have anything to do with JS Cruncher? <2> yeah, that's mine as well <4> heh <4> To be honest I never really looked at DOMAPI too much <4> I have been here for some years and over the time I noticed you "pimping" it a lot but never thought for a moment that it might have been yours <4> But just now I saw on the JS Cruncher site a script in the screenshots section that shows creating an HTML element and all it's attributes with one method <4> And I thought "<3" <2> :P <4> I also didn't know you can just do varmyVar <4> I use a compressor called Jasob and it still leaves spaces after "var, return" and some other keywords <4> Are there actually any obligatory spaces needed in JS? <2> errr, you can't go varmyVar <4> It's in your screenshot http://domapi.com/jscruncherpro/screen.cfm?src=screen1.png <4> varrj16 and returnrj16
<2> just a coincendence -- that's a varname that starts with var <2> hmmm, oh yeah, now i see <4> And just a return that happens to begin with return? <4> :P <2> hmrph, must have made those screenshots early on <2> the actualy product does not remove those spaces <4> Well if I knew any better, that screenshot might cast aspersions on your product quality <2> yeah, thanls for pointing that out, i'll have to correct that <4> Might be best since people often do flock to screenshots first and it is the first one also <3> someone just finished a chinese version of FF3 <5> hey ... how do i made that while the php proccessing the whole page its will write loading... till the page is proccessed? <6> hello <6> someone online ? <6> re <6> Pilum <6> :D <7> :-) <6> I wnat to know if i have a chance to have acces here i have user javascript and i know a lot of java <6> i am designer in romania <6> :D <7> Java is irrelevant to javascript. <6> yeah <6> but i want to have here acces :) <6> :D <6> i can ? <6> if u stay ? <7> We don't give it to people who ask for it. We give it to people who have been in the channel for a long time and have shown themselves worthy. And that is if we feel we need more. <6> and if i stay here i will have ? <7> It's not an automatic process. <6> k <6> thanks <7> Stay here for a couple of years and be helpful and we'll see. <6> =))))) <6> a couple of years ? <6> =))) <7> Yeah. <6> **** <6> it's a bullshet <7> Mind your language. <7> I was here 2-3 years myself before I became an op. <7> Heh. <8> hi@all <9> how can I prevent a browser window from closing? <10> you cant <9> when the user clicks close I can cancel it? <9> how can I submit a form when the client unloads the page? <9> guys? <9> NeoFu7ure <11> u can catch the closing of a page <9> oh how can I do that? <11> http://www.google.co.uk/search?hl=en&q=javascript+catch+close+window&btnG=Google+Search&meta= <11> oo look @ that <11> 1st result on google <10> yes you can catch it, but your cant stop itr <12> hey <12> if I want to send some arguments to a function on the onclick event of an object, how do I proceed? <12> because by .onclick = function() { myfunc( var1, var2 ); } does not work; <7> Didn't I show you that the other day? <7> Yes it does. <12> some day yes <12> ok, well then we should think otherwise <7> What are var1 and var2? <12> oyu see, I want to use the same function for calling and handling the response of an xmlHttpRequest <7> And? <12> I will post the code somewhere and I will show you <12> why can't I use the "this." inside a function ***igned to .onreadystatechange ? <7> You can as long as you don't ***ign it wiht = function() { whatever() } <12> but it did not work :( <12> and also, If I am requesting a fragment of a .html page which also contains some <script language="javascript"> ...some code... </script> how can I execute that code? since by divContainer.innerHTML = xmlHTTP.responseText; will not be executed <12> Pilum, did you confront yourself with such things? getting some javascript section through xmlHttp and executing it? <4> Erm does JS not have XOR? <4> "Boolean logic also contains the XOR operator, which is true when exactly one statement is true (but not both). JavaScript doesn't support logical XOR.
Return to
#javascript or Go to some related
logs:
lupen cartoons CCNA test 6*7 #chatzone #AllNiteCafe ubuntu snmpget mibs #linuxhelp #linux #linux orziot twenty ubuntu fluxbox shutdown
|
|