| |
| |
| |
|
Page: 1 2 3
Comments:
<0> so i created an object <0> var DynTable=new Object(); <0> this is wrong? <0> and then extended it to add properties: <0> DynTable.extend({ <0> insRow: function(cols,rows) <0> { <0> ... <0> } <0> what is wrong? <1> we all have looked at your code you don't have to paste again <0> i just wrote 3 lines...tell me what is the prob? <2> DynTable.prototype = { insRow: ... } <1> extent is not a function <0> extend....
<1> whatever. go learn how to write a cl*** normally frist and read everything from there http://javascript.crockford.com/ <0> i did it normally <0> but now i want to learn how to extend <3> wow - this.form has no properties :/ - any idea what's up with that <1> your input button is inside a form? <3> yes <0> cl*** NewCl*** extends BaseCl*** { <0> [cl***members] <0> } <0> there is extend......! <4> That's not javascript. <0> http://www.ailis.de/~k/docs/jsoop/ <0> now tell that again <0> Pilum?!? <3> The context is: <form><element I am targeting><script>if(this.form.elements... <4> Nothing on that page which resembles the syntax you just pasted, mainpr0c. <0> i copied it from there!!! <2> var person = new Person("Arthur", "Dent"); ;-) <0> take a look <0> http://www.webreference.com/js/column110/2.html <3> resistance is useless <4> That's JScript.NET <4> Note the .NET part. <1> var noob = {firstName:"noob"}; <1> EWC-guy, <form><input type="button" onclick="myonclick(this);">..... <3> ht311 - that I can do. So within a button, even referencing a different element, I can use "this" ? <1> Pilum, add some !!!! to your statement <1> EWC-guy: no <3> ok, so document.formName should do the trick <4> channel.write(Pilum.getPreviousStatement() + "!!!!!111one"); <1> heh <1> document.formName.elementName <3> hehe, ok, different advice from diff programmers - that's kewl <1> we are talking about the samething <4> Just different ways of getting the reference. <4> Both work. <3> yah, ok :) thanks <1> read this http://www.jibbering.com/faq/faq_notes/form_access.html <3> kewl, thanks <3> well, I can get my button to change the selectedIndex of my list, but it doesn't trigger the onChange event for the list - how do I force that? <1> call the function manully then <3> `duh <3> heh <3> must be near quitting time <3> world of thanks to all! <3> have a great & safe weekend :) <5> ? <5> ht311: ? <2> you look puzzled, fatbrain <5> melfar: Indeed. I was puzzled, no more. <5> Trying to ... implement a good properties / object scheme for my toolbox <5> I have a objects with different types of properties (Range, Textual etc) and I display those using appropriate controls inte the toolbox, <5> bah1 :P <6> I have a php variable that contains an image's filename $img = "apple.gif"; and now using onmouseover="doSomething(event, VAR);" I'd like to p*** the value of my $img into VAR <4> doSomething(event,'<?=$img?>') <6> thx <6> do I need the ' ' ? <1> read rendered source, you will know why <6> k <0> q: if i have a function like : DynTable.prototype.fillCell=function(col,row,text) ..is the text limited in length...it seems that when i'm p***ing 100 chars text it can't get this length....?
<1> the limit is 2gb <0> 100 chars are way lower <0> but it doesn't work <0> works only for shorter texts... <0> how come? <0> ??? <1> http://www.catb.org/~esr/faqs/smart-questions.html <0> heh, u can say you don't have a clue, don't be ashamed...:) <0> it's ok, really. <1> I am too dumb to understand what a dumber person did/thinking <0> yeah right :) <0> i can see it <0> reporting <0> ... <0> what can i use to set table cell text, instead of using innerHTML? <0> what is used in dom instead of innerHTML? <1> createTextNode <0> but if the cell already exist? <1> then appendChild <1> I am not asking you to createElement("td" <0> i meant, i want to change the text from text1 to text2 <0> appent will add another text? <0> or replace the old one? <1> delete child of change the node value <1> s/of/or <0> how can i change node value? <0> is this ok? <0> var x=document.getElementById(this.tableName).rows[row].cells[col].removeChild(this); <0> var x=document.getElementById(this.tableName).rows[row].cells[col].appendChild(text); <1> .value or .nodeValue <1> I don't know. I love innerHTML <0> when i did this, it soesn't work with long text: <0> var x=document.getElementById(this.tableName).rows[row].cells[col].innerHTML=text; <0> also i tried to put this text in var and to alert it...the code got stuck... <1> it doesn't make any sense <7> i dont know much but getelementbyid(this.tablename) <0> well <0> wait <0> can u take a look? this got stuck... <0> http://rafb.net/paste/results/HibTOp32.html <1> paste the html source. not the php one <0> ok <0> this is the html (With php) <0> no other html code <1> I have no way to know what you did now is right or wrong <0> why? <1> 1. what you post is incomplete, 2. I don't want to see any php <0> is all the file-->complete <0> the alert doesn't work <0> i found the problem...the newline inside the javascript var making problems <0> how can i remove all the newline...replace "\n" <0> is enough? <1> may be, depends on what you have in the db <1> it is just plain silly for the php to make js to fill a table <0> why? <0> i want the table to be dynamic and clickable <1> still no need to do what you are doing <0> AJAX later on = dynamic update - go read some. <0> edit on the fly <0> you can't do with server side... <0> you must read more to understand how it works... <1> you are too 1337 for here ... <4> I understand it all too well. <4> It can be called apparent usability at the cost of accessibility. <1> Pilum, don't pretent you know, mainpr0c know everything :D <0> i don't ...and so r u... <1> I haven't see anything on html/javascript that look interesting for a couple years already <1> ok my statement is incorrect, the explorer canvas quite nice. not really new but kind of smart for they able to do it <0> how does it named..the ability to let the user move windows inside a site (like drag & drop)...? <8> how the hell would you have supposedly footage of my girlfriend, aizju. Answer that, and I'll click your link <9> is it possible on a mouse click on an image to call a javascript function and get the mouse positoin on the image? <10> sure <10> easier just to get it in the form post though <9> ,mmmm but how I get the mouse position?
Return to
#javascript or Go to some related
logs:
DCC SEND starkeylogger #linuxhelp mass deop who met cyclops on his third voyage nickelos domain
#MissKitten zeuz heracles gg fs type ntfs not supported by kernel
cups_strlcpy #chatzone
|
|