By now I just changed the name of the function to 'rbClick'. It's
ugly, but it shouldn't be problematic, should it?
On Dec 6, 10:39 pm, "T.J. Crowder" wrote:
> > some form controls (radio, checkbox, maybe others...) have a native
> > click() method that toggles them, so that would be in conflict.
Thanks Walter!
On Dec 6, 6:28 pm, Walter Lee Davis wrote:
> On Dec 6, 2010, at 12:12 PM, Walter Lee Davis wrote:
>
> > It's OT for this list, but have a look at Prototype.js. You can
> > create a new DOM element in memory, and do all the things you want
> > to it without ever showing it to th
Hmm, damn. the returned value is still a string :(
On Dec 7, 9:16 am, Luke wrote:
> Thanks Walter!
>
> On Dec 6, 6:28 pm, Walter Lee Davis wrote:
>
>
>
> > On Dec 6, 2010, at 12:12 PM, Walter Lee Davis wrote:
>
> > > It's OT for this list, but have a look at Prototype.js. You can
> > > create
Will try that, thank you yuval
On Dec 4, 8:44 pm, yuval dagan wrote:
> Hi
>
> currently the rdBuff is shared between all instatces
> try to create the instance variable (here rdBuff) inside the initialize
> function
> and with the this keyword its not default like in C++ etc...
>
> var SomeClass
>From searching and looking at the API docs, doesn't look like
prototype is able to do this, but I thought I would ask anyway in case
some one has an idea.
I have a generic form generator library and in the forms generated, I
need to be able to absolutely position a "help" div next to an image
o
That's because I called innerHTML on it at the end, and that returns a
string. If you then want to create a new element out of that, you
could try inserting it into your page somewhere with
$('someElementOnYourPage').insert({after: foo});
Of you could just leave the innerHTML part off the en
Hi,
I'm doing an internship in a company where they bought a script for
modals called 'Lightview' ( http://www.nickstakenburg.com/projects/lightview/
), so I'm kinda stuck with using it. The problem is that instead of
many other libraries, you cannot pass lightview any callbackfunctions
as paramet
On 7 December 2010 15:34, doug wrote:
>
>
> From searching and looking at the API docs, doesn't look like
> prototype is able to do this, but I thought I would ask anyway in case
> some one has an idea.
>
> I have a generic form generator library and in the forms generated, I
> need to be able to
Hm ok, hoped there would be a way I could generate a DOM object that
consists of just the HTML (without wrapper) and before I insert it.
On Dec 7, 4:52 pm, Walter Lee Davis wrote:
> That's because I called innerHTML on it at the end, and that returns a
> string. If you then want to create a new
On Dec 7, 2010, at 10:59 AM, Luke wrote:
Hm ok, hoped there would be a way I could generate a DOM object that
consists of just the HTML (without wrapper) and before I insert it.
There's no need for this, since inserting a string and inserting an
object have the same effect as long as you'r
Is it just me,... I don't understand what you're even asking/trying to
accomplish?
What kind of "DOM" object are you hoping to create? Call it a potayto, or a
potahto but any "element" you insert the HTML into is a "wrapper".
Apologies if this seems terse but I truly do not understand your qu
On Dec 7, 10:58 am, Richard Quadling wrote:
> On 7 December 2010 15:34, doug wrote:
>
>
>
>
>
> > From searching and looking at the API docs, doesn't look like
> > prototype is able to do this, but I thought I would ask anyway in case
> > some one has an idea.
>
> > I have a generic form genera
On 7 December 2010 16:17, doug wrote:
>
>
> On Dec 7, 10:58 am, Richard Quadling wrote:
>> On 7 December 2010 15:34, doug wrote:
>>
>>
>>
>>
>>
>> > From searching and looking at the API docs, doesn't look like
>> > prototype is able to do this, but I thought I would ask anyway in case
>> > some
Ok, what I wanna do is this:
-
var mystring = 'text linkMore text';
var myDomObject = createDomFromString(mystring);
var methodsAndProperties = {"someProperty": "someValue",
"someFunction": function() {}, ... };
Object.extend(myDomObject, methodsAndProperties);
$('myDiv').insert({top: myDo
Is mystring what you get back from your Ajax request? Do you control
the server that sends it?
If you want to end up with the Element div.something inserted
somewhere on your page, you could do this pretty simply:
var mystring = 'text linkMore textsrc="asd" />';
//mystring could also be th
15 matches
Mail list logo