| |
| |
| |
|
Page: 1 2 3
Comments:
<Alexender> hellow world <Alexender> anybody around. <POLICE^> help me <furtive> how? <POLICE^> 1 mins <POLICE^> <input name="Value" type="button" id="menu" style="overflow:hidden; width:191px; height:27px; z-index:23; border:#FFCC99 1px solid; background-color:#757575; font-weight:bold; color:#FFFFFF" title="Webmenu" lang="ro Romanian" onClick="a href="asl"" value="Value"> <POLICE^> <-- what error? <POLICE^> onClick="a href="asl"" value="Value"> <furtive> javscript doesn't recognize html elements <POLICE^> button action url ... <POLICE^> yep <furtive> onclick="location.href='foo.html';" <POLICE^> tenks! (suport php code? <furtive> no <POLICE^> tenk`s <POLICE^> hmz imput buton redirect new page? <POLICE^> code? <POLICE^> _blank <furtive> was that a sentence? <POLICE^> <input name="Value" type="button" id="menu" style="overflow:hidden; width:191px; height:27px; z-index:23; border:#FFCC99 1px solid; background-color:#757575; font-weight:bold; color:#FFFFFF" title="Webmenu" lang="ro Romanian" onClick="location.href='success_login.php?user_login=<?php echo $view['mail']; ?>'" value="Value"> <POLICE^> url .. new page ... <furtive> target="_blank" <POLICE^> onClick="location.href='success_login.php?user_login=<?php echo $view['mail']; ?>' target='_blank'" <POLICE^> ok? <furtive> no <furtive> <a href= <furtive> err <furtive> <a href=".." foo=".." blah="..."> <furtive> jeeze, this is like talking with a caveman <POLICE^> okey link is button! <POLICE^> hmz tenks help! <POLICE^> :> <ht311> oh is furtive, he come out from the cave <furtive> i'm full of maple syrup <ht311> you went to sugar shack ? <furtive> yeah. best one in past three years <ht311> wow, i though this year will be a bit strange, since there is no snow around <furtive> well there is that yes, but temp was still good for the sap <furtive> i also went to mt tremblant this weekend to see a concert <ht311> just in time to recover for spring <furtive> yeah <furtive> now i'm setting up my dev env on the new notebook, i'll get that js channel migration done soon, hehe <ht311> you should see gray's anatomy this summer <ht311> hehe, you saw the date changed? hahahahaha <furtive> yeah, i fixed that <ht311> hehe, "Sometime" nice <Daverag> What would be the best way to check if the element I'm dragging is already inside a ul before executing the insertion code? <[Torgo]> check it's parentNode <[Torgo]> if(parentNode.nodeName == "UL") etc.. <Daverag> where ul is the string i want it to verify against? <[Torgo]> huh? <[Torgo]> sorry, you sounded like you knew what you were doing ;) <Daverag> yeah i really should mention i don't first :) <VaranG|aN> you can drag an element with javascript? <VaranG|aN> an element like what? <bobmutch> I need a bit of help <Demonen> bobmutch: I'm sure someone can ***ist, but not until you state your problem. <Demonen> What's it called when I use an xmlhttp object to fetch non-xml? It's not AJAX as there is no X involved... <Demonen> Can I still use the term "AJAX" to describe it? <Demonen> I'm using the "evil" innerHTML... <VaranG|aN> ?! <VaranG|aN> Demonen? <VaranG|aN> Demonen: it is .. the it wraps the data into an XML and transfers it through HTTP protocoll <Demonen> hmm... I'm using it to grab .txt files right now, and it comes out as exactly that in the other end, so I can container.innerHTML it <Demonen> Is it still called AJAX? I'm not touching XML with it at all. <VaranG|aN> ahna ghar mil-qtates qed jitratawna .. vera tradejta din jien? .. jew veru illi min qala imbaghad bellaha <Pilum> Ajax is just a buzzword. <VaranG|aN> lol @ buzzword <VaranG|aN> yes it is <VaranG|aN> Demonen what are you using ? <Demonen> Yeah, it is, but I still want to know what to call this. <Demonen> I'm just GET'ing some data off the server using an XMLHTTP object. <VaranG|aN> are you doing a postback? <VaranG|aN> is there a postback/ <Demonen> I'm not sure what a postback is. Please explain. <VaranG|aN> if there isn't a postback then your using the XMLHTTP <VaranG|aN> A postback is when you click a button <VaranG|aN> and <VaranG|aN> that button requests from the server data or something <VaranG|aN> the server returns back the data <Demonen> Well, technically I'm using a href with onclick="" so non-JS people don't get completely screwed, but I guess that is a postback. Yes. <VaranG|aN> in that way you'll see a page refreshs <Demonen> no page refresh... <VaranG|aN> my question still ponders though how the hell does the XMLHTTPObject returns data throuhg the server <Demonen> can you please put more text on each line so I don't think you're done explaining in the middle of your text? It is confusing, sorry. <ascii_> i need some programming inputs and views here. i've got a div tag displaying some text, I want it t obe "editable", so onclick i make <teaxtarea> inside the div tag, with the innerHTML text. when the textarea is changed, i store it to my DB using ajax tech.the problem is to get it to go back to the div tags when focus is lost, any ideas? <VaranG|aN> I use AJAX but I'm using the Microsoft version Callback of VS2005 <ascii_> VaranG|aN, what do you mean by returning data? <Demonen> http://www.z0rz.net/~demonen/WebKonsept/Ajax/ <-- This is the exact stuff I use. <ascii_> VaranG|aN, XMLHttpRequest.responseText <VaranG|aN> yes but how it works <VaranG|aN> why it doesn't refreshes the site <ascii_> cause it calls the page in the background.. <VaranG|aN> in the background <VaranG|aN> ? <Demonen> Yes, in the background. <VaranG|aN> or because it is called asyncronously <ascii_> you can look at XMLHttpRequest in a very simple way, as a "web-browser" <Demonen> http://www.z0rz.net/~demonen/WebKonsept/Ajax/test.html <-- Look at it. <ascii_> a webbrowser that you can't see, but use.. <VaranG|aN> are you using a server langauge? <VaranG|aN> Demonen? <Demonen> The "magic" is in this line: xmlhttp.open("GET",page,true); <ascii_> yes.. <Demonen> Nope, I'm that example/test I'm just fetching .txt files <Demonen> regular, every-day textfiles. <VaranG|aN> using javascript/ <VaranG|aN> ? <Demonen> Yes. Look at the example. <ascii_> VaranG|aN, the whole idea with ajax technology is to use both client side scripting(javascript) and server side scripting to dynamicly update web-content in your browser.. <VaranG|aN> yes I know <ascii_> Demonen, you got any good tutorials or hints to my question? <VaranG|aN> ascii_: I know how it works.... just the XMLHTTPobject I didn't knew <VaranG|aN> how it was written <ascii_> VaranG|aN, if yout windering how it works, read the RFC for the http protocol.. <ascii_> oh..many typos.. <VaranG|aN> I'm using the Callback microsofts <VaranG|aN> so to tell you truth all the XML stuff is being <Demonen> ascii_: not really, no. I'm just learning this now. Experiementing and drawing off expeience with other languages, mostly. <Demonen> Anyway, my conclution has to be that I should discard everything VaranG|aN has said so far, and reset the "What should I call this thing, then?" question. <Demonen> I'll just refer to it as XMLHTTP, and forget the whole AJAX buzzword for now. <ascii_> you are trying to learn ajax? <Demonen> I don't care what it's called, I just don't want everything to refresh every time I want a tiny peice of information updated. <Demonen> :) <Demonen> I want to learn how to do this: http://www.z0rz.net/~demonen/WebKonsept/Ajax/test.html <VaranG|aN> I have pages done in AJAX and its cool <ascii_> Demonen, what server side scripting do you use? <VaranG|aN> with ASP.NET <ascii_> VaranG|aN, i bet it is.. <Demonen> ascii_: For that, I use nothing. It just yanks .txt from apache. <Demonen> Eventually it'll be Perl/CGI <VaranG|aN> perl-cgi? <VaranG|aN> (õ_Ô) <VaranG|aN> how come people still use it? <Demonen> Perl, you know, the scripting language? Used as a Common Gateway Interface. <ascii_> cause it's powerfull as hell.. <VaranG|aN> ASP.NET 2.0 is much more powerful <Demonen> It can do anything and everything I want and need. That's why. <Demonen> ASP.NET 2.0 does not run on Linux/Apache <VaranG|aN> who cares as long as there is IIS <Demonen> Perl, however, runs on IIS <Demonen> so if I write my stuff in Perl, it can run anywhere. <VaranG|aN> anywhere .. as if your going to transfer your site every week to another machine <Demonen> I don't need to be picky about the host at all, I just need permission to execute serverside. <Demonen> I write scripts for other people with other webhosts. <Demonen> I don't wanna tell people "No, I can't take your money. I can't script for your webhost" <Demonen> Anyway, who cares? If you want to use ASP.NET, please do. <ascii_> VaranG|aN, go read some stuff before you argue..cause your arguments are lame..
Return to
#javascript or Go to some related
logs:
susi18- sweet #linux the infamous contraction of Geheime Staatspolizei declare -x ubuntu bashrc serious53 wshaper asus #php FRIENDTERS #linux trackerbittorent.com
|
|