| |
| |
| |
|
Page: 1 2 3
Comments:
<0> Hello <0> i'm doing: function test(){} test.method('myalert',function(){alert("a");}); myitem=new test; test.myalert(); .... what am i doing wrong? <1> what the hell is test.method( .... there? <0> i want to add to the test cl*** amethod....how do i do that right? <2> read on more about cl***es, your code is very inacurate ;) <0> i did <1> function test() { this.myalert = function() {...};}; <0> show me example <1> sure you didn't , nothing i read say test.method( ..... <2> sorry, google it, im off, end of the day of work! <1> http://javascript.crockford.com/ <0> any javascript dynamic table cl***es? <1> dynmaic table? <3> you mean like a grid? <0> how do i call a method from another method? this.another_method() doesn't seems to work...
<0> ?? <1> paste your code to a pastebin <0> http://pastebin.com/775994 <0> http://pastebin.com/775995 <0> ignore the previous one <0> check line 9 <0> at the end, on the click ... <0> what am i doing wrong? <0> ht311?? <1> read the link i shouw your before <1> this not how html and javascript should interact <0> what is the problem on the click? <1> this is not "this" in your mind <1> you need to know abit about dom <0> so how should i call that method? <0> tell me <0> just how to call it... <1> really have no suggestion in your context, I won't do it like that <1> damn you are at home already <1> MainProc, learn how to do that without using a cl*** first <0> i know how to call a function <0> are you kidding me? <4> hey everyone <1> obviously, you are mix up about cl***, dom , this... and you still use document.write ..... <1> hi <0> forget about the doc.write <0> how do i call this method from there? <4> i need help for a windows JScript ... <3> Whiles, just ask <4> this is: http://pastebin.com/775992 <4> it send a message to a RichEdit and say its to make bold the selected text <1> MainProc, you need a reference to the object and call its trclick. <4> but it doesn't work, the SendMessage method returns 0 <5> anyone know how to get the redirected page using xmlhttprequest when the http return code is 302 (Object Moved) ? <4> and i can't define the error... <4> anyone? <5> using ethereal I can see that the page is loaded but http_request.responseText do not contain the page... <1> zitrax, need to use post <1> http://www.mnot.net/javascript/xmlhttprequest/ <5> ht311, so if I use POST on the same url it should work you mean ? <1> according to that page, post to a 302 will work <5> ok thanks, I will try it out <4> nope? <0> ht311 <0> where should i read? <5> ht311, It's not working then I get response 0 instead of 302. <4> nobody knows the JScript for windows? <1> no idea, it is really the way you are thinking all mixed up. it is possible to do what you are trying to do. but at your current level, don't do it. <0> ht311 <1> Whiles, to better rephase, no one know the richedit control you trying to script <0> the other mouse function (mouseover,mouseout are working, just tell me how to call a function from the mouse click...can u? <3> Whiles, what is the error? <4> there isn't a error, the function return simply 0. <3> then there was no error <4> yes, but i can't determine it. <3> the app you are trying to control likley isn't using windowed controls <1> MainProc, as i said, yuo need somekind of function in global scope to work, you better try to understand why your onmouseover work but not the onmousedown <4> it is an MsnPlus script <0> because mousedown calls a function...where mouseover isn't...and i <0> i'm calling it wrong <0> just tell me how to call it right...that's all...
<1> i told you already <3> sheesh <0> how? <0> write it <4> Window.SendControlMessage(ControlId, MessageType, ParamL, ParamW) is the only different function that i can use on the script... the rest is normally included in Microsoft JScript <4> nobody can help me? there's a problem in the structure CHARFORMAT? <6> Looks more like Java if you ask me. <3> Whiles, if there is noe error, then the app you are trying to contol doesn't support it <3> no, this is win32 <6> Heh. <4> it support it, it's a normal RichEdit! <3> are you positive? did you write the app? <5> By the way, the problem I mentioned earlier about xmlhttprequest and http resonse 302 seems to be possible to solve by just using HEAD and then look at the location header and make a new request for that one. <4> yes, i writed it. <3> better than wroted it i suppose <4> sorry :P <6> Heheh. <3> sorry, i can't help ya <4> thanks nowever. <4> how* <4> i must go now, bye! <7> anyone here write greasemonkey scripts? <6> Lo dave-e. <7> oioi dave-e and pilum <8> Hiya <7> is there a special channe lfor greasemonkey scripts or is this a good'un? <7> *crickets* <9> guys javascript code is executed as the browser downloads it, right? Or does the browser wait till the hole page loads? <9> is there a function i can call to STOP the browser from downloading the rest of the page? - like to instantly disconnect from server <3> you could set location.href to about:_blank <9> whoaaa no-one talked today <10> can any1 help me? <11> pour vendre immediatement, doit aller aujourdhui, 1 dell xps m1710 laptop prix 450. messagez moi en anglais if interested <11> pour vendre immediatement, doit partir aujourdhui, 1 dell xps m1710 laptop prix 450. messagez moi en anglais if interested <6> English. <6> Speaking of which.. that looks like spam <0> Hello <0> where can i paste to? <0> anyone there? <6> Any pastebin, e.g. pb.html-channel.com <0> ok <0> http://www.html-channel.com/pastebin.php?id=13 <0> please tell me what is wrong with my code line 10 tr onclick doesn't work <6> Use the DOM. <6> And not document.write <6> Look up document.createElement and appendChild. <0> Pilum, can u show me example (even simple) <6> var myTable = document.createElement('TABLE'); var myTr = document.createElement('TR'); myTr.onclick = this.test1; var myTd = document.createElement('TD'); myTr.appendChild(myTd); myTable.appendChild(myTr); <0> i wasn't talking about the document.write <0> u didn't understand...the call to the function doesn't work in the table....why is that? <6> You don't understand. <0> ok... <0> tell me <6> Don't document.write <0> but the error isn't on the document.write <6> And that onclick attribute of yours needs to be quoted. <6> What is it that you are using to see where the error is anyway? <0> i quoted it...same error <0> http://www.html-channel.com/pastebin.php?id=14 <0> even quoted it doesn't work <0> why? <0> Pilum? <6> DON'T ****ING USE DOCUMENT.WRITE! <0> ok <6> I told you how you should do it already. <0> but that is the reason it doesn't work? <0> ok.... <0> because i'm using document.write...this doesn't work? <6> Very likely. <0> ok <0> let me try your way <6> Keep in mind that I only gave you an example. <0> Pilum , can u paste working example? <0> just display table with onclick
Return to
#javascript or Go to some related
logs:
stack overflow on dev-cpp #linux #php Wuilkam ipchains sshblock
#MissKitten xgl interferes with amarok cand stranuti te caci si futi #php #Users.Undernet.Org bodoo
|
|