| |
| |
| |
|
Page: 1 2
Comments:
<0> 'night <1> how can we retrieve the layout engine of a browser by using javascript? <2> come again? <1> i know that for Mozilla's Gecko we can use navigator.userAgent to parse Gecko and its version...but how can this be done for MSIE <2> google browser sniffing <1> k.tx <3> is there any way for javascript to change the codepage on browser? <2> eh? <3> [Torgo]: i need to find/make a javascript or smthing for not using the default command by html. <2> huh? <3> i want to stop using: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7" />. i have problem. i need to use the "windows-1253" codepage. browser doesn't respond on this. so... i was curious if i could with a jscript or smthing make it respond <2> what is wrong with the iso charset? <3> "windows-1253" is for the greek language (Greek Windows) not the iso charset <4> Heh. <4> Bull.
<3> [Torgo]: the browser doesn't changes to read it <4> There's ISO charsets where the greek alphabeth is supported too. <2> hence the "I" in iso <4> You just need to save your document in that same format. <3> i did it but nothing <4> Make sure the server isn't overriding it. <3> Pilum: the data inside are read from a db. <3> everything works... except this <4> Irrelevant <4> Well, as long as they're in the right format that is. <3> and i have problem with the codepage (greek is a ****ty language to work with):( <4> You just have to make sure that the same charset is used everywhere. <3> thank you Pilum:) <3> i 'll check it again <3> :) <5> meeow <6> uhm... IE still ****s <6> here's a bug, let me know if you guys know a work-around for it <6> main page - html utf-8 <6> an ajax script calls for another page <6> utf-8 also <6> the special chars in there get missformated <6> when they end up on the main page <6> each page taken separately works fine <6> the experiment works fine in FF <6> any ideas? <6> ah, no I **** <6> it was a caching problem <0> hello guys <7> variables declared inside a functin with var are global variables, is that correct? <4> No. <7> errr i mean local varibales in a function are declared with var? <4> var specifically defines the variable in the current scope. <7> so if im in a function and dont use var the variable would be global? im reading off a website and just want to confirm <4> Yes. <7> thanks <8> hey umm <8> anybody here? <4> No. <8> :D <8> I have a question <8> you see, I'm reletively good with PHP <8> and, just know basics of JavaScript <8> and I'm making <8> A PM system out of PHP and some javascript to keep everything on the same page, however, the one page I use outside of mailbox.php is sendpm.php <8> and sendpm.php processes it all and puts it in the right tables or whatnot in my mySQL database, hoever, the problem I'm having is returning errors <8> like "no text" "no subject" "no target" "mysql error" <8> and I have it layed out with lines like: <4> Use a pastebin if it's more than 1 line <8> o i alrdy pasted it <8> I know, I'm a mIRC scripting coach and PHP (sometimes) in another server <4> In channel. <8> http://pastebin.ca/347367 <8> you see all the forms ontop? <4> You're using PHP to echo a document.write... <8> I know <9> lucky that you are not a js scripting coach (sorry , can't stop myself ) :P <8> lol <8> yea its ok <8> ;)
<4> What does myformsubmit do? <8> at the top there is the function <8> onvm <8> it isn't lol 1 sec <8> i took it out a second ago <8> here: http://pastebin.ca/347436 <8> and I also tried <8> document.+yaukno+.submit(); <8> but you see, when I echo it it doesn't trigger even after the page is done loading <4> You shouldn't even be sending that back to the client. <10> value="<? echo $target; ?>"> <- you could make it shorter like: <?=$target?> <8> heh thats good to know :) <8> thanks <4> Send it directly to mailbox.php <4> No need to return it to the client and no need for javascript. <8> you see each form has its own error value <8> and a different form will be submitted for each error <4> Which you can encode in your serverside script as well as you can in your HTML. <8> it goes off the other page therefore the information is destroyed and sending it back to mailbox.php it will not contain the error generated by sendpm.php <4> Saves you processing power, saves you bandwidth usage and saves load time. <10> RussellReal, use $_SESSION[] superglobals <8> hmm? <10> http://www.google.ro/search?hl=ro&q=php+session&btnG=C%C4%83utare+Google&meta= <4> What script am I looking at, RussellReal? <8> sendpm.php <8> and molexus i'm checkin da link now <4> Then your comment is incorrect. <4> You don't even need $_SESSION <10> well since he doesn't know about them it'll save him a lot of troubles in the future <4> He'll get a lot of trouble now though since you seem to be confising him. <8> no I know about sessions <8> I used that as a way to keep a user logged it its like a more advanced cookie <8> b4 I started just using cookies <8> :o <8> :( <10> sowy, Pilum keep going ... <8> I just want to know if its possible to use PHP with JavaScript <8> and if so how would I go about doing it <4> In a way. <4> But what you're thinking of is just plain stupid. <8> I bet it is, and I'm sure you have like 300 ways to do it better then me, but all I'm asking is how I would go about using JavaScript with php, and thanks for taking the time to help me :) <10> i love Pilum when he goes like that :)) <8> molexus sounds pretty gay <4> "using javascript with php" could mean 3000 things though. <10> RussellReal: witch i'm not :) <8> ok well, I'm using PHP to sort out which script block to echo to the page <8> but when it echo's it doesn't trigger <4> http://pastebin.ca/347564 <8> .ca is the best imo <8> 1 minute tho <8> omfg ffs <8> I just realised I could have done this ALOT less redundantly <8> but lemme look at urs :P <8> o <8> where wud I put dat at? <4> At the end after you've determined the value of that variable. <4> And I forgot to put single quotes around it. <8> the form I want to submit right? <8> so where it applies I'd do like $form = "formname"; <8> and then at the bottom it would work? <4> I thought you were coaching PHP... <8> no I know how to ***ign a variable.. <8> lol <8> or set <8> meh nvm it was a umm complimentary question <8> like <8> "hi how are you?" <8> and I say "Fine and you?" <8> well I i've got it all in the right place <8> now lemme test it out <11> what up
Return to
#javascript or Go to some related
logs:
#linux #MissKitten #teens tolk to frends #skype cups_strlcpy #networking turn off Windows logo testing evii undernet
#MissKitten
|
|