On 28 Mar, 13:43, T.J. Crowder [EMAIL PROTECTED] wrote:
When you make the elements, you will still have to give them something
they can use to find out who created them -- e.g., a reference to the
instance that created them, or just the name of the constructor
function [by giving them the
On Mar 28, 9:43 pm, T.J. Crowder [EMAIL PROTECTED] wrote:
Hi,
A function or property refering directly to the name/objectindex of
the obejct/class instance would be much more practical.
That infers that you are going to execute logic based on the name of
the constructor. One of the
Hello every budy,
i m nevil,i m new in ajax and try to understand the
prototype.js so plz help me that how i use prototype.js and also tell me how
i apply ajax request throught prototype.js ,i refere the materials on
line but i cant get anything so plz reply me,
Неопреновый пояс для похудения из высококачественного материала
тонизирует тело и заставляет досадные жировые складки исчезать с
невероятной скоростью.
Принцип воздействия саунта-белта схож с давно известными неопреновыми
поясами для похудения. Но для того, чтобы неопреновый пояс помогал
худеть, в
im new to aculo and using in a project .
i want kw how to generate dynamically input box or check box.
pls help me.
Thanks
Binay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Spinoffs group.
To
It doesn't seem sensible to set the constructor's name property every
time it is called. It makes more sense to set it once on the
constructor's prototype. :-)
You're quite right. :-) It was a quick exmaple for the OP.
Strictly speaking you don't need the getCtorName function
...
But
vinay,
use new Element()
var input = new Element('input', {type: 'text', value: 'default'});
input.observe('blur', myOnBlurFunction);
$('mydiv').appendChild(input);
var box = new Element('input', {type: 'checkbox', value: '1'});
$('mydiv').appendChild(box);
- Ken Snyder
On Tue, Apr 1, 2008
Hi there,
I have just a one question to prototype's Ajax.Request calls and hope
that someone could answer it.
Ajax.Requests via a http to a https is not possible, even if it's the
same domain. Is that right?
For example:
your login form is here - http://www.mydomain.com
the call points to:
Hi,
That's indeed a violation of SOP (http://en.wikipedia.org/wiki/
Same_origin_policy).
The easiest work-around would be to use https://www.mydomain.com for
your login form.
Best,
Tobie
On Apr 1, 4:48 pm, Jarkand [EMAIL PROTECTED] wrote:
Hi there,
I have just a one question to
Hi and thanks for the info!
Well, and that's actually the uncool thing about it.
Having a page with a log in link that opens a floating window incl.
the log in form makes SSL calls not possible.
However, thanks for the quick reply.
Michael
--~--~-~--~~~---~--~~
Hi!
I am trying to make Prototype work in a mixed XHTML/SVG DOM (see Code
below). The page renders perfectly in Firefox 2.0.0.13 except for the
2nd link-Element that was added dynamically using Prototype's Element
class. Although the element seems to be okay when being investigated
with Firebug,
Having a page with a log in link that opens a floating window incl.
the log in form makes SSL calls not possible.
I think Tobie's point was that if the page itself is served via https,
it solves the problem. So rather than having an http-served page with
a login link, you'd have an
Hi,
See the following code sinppet, I know we can mixin modules, but if i
use modules, I wont be able to override the methods in modules. Can we
inherit from more than one class?
html
head
script src=prototype_1_6.js
/script
script
var Person = Class.create({
i'm trying to use the following function to expand the element
that's clicked on (in an unordered list) and collapse it's sibling
elements. this function is then called within another that shows/hides
the contents of the elements. In this case sOpenObject would be the
li you clicked on,
Brian,
How is this relevant to prototype.js?
- kangax
On Mar 30, 11:04 pm, Brian Williams [EMAIL PROTECTED] wrote:
Hey, I've begun using some of the YUI elements in my admin section of my
site and it is all AJAX based I'm wondering if anyone has done any work with
the YUI RTE and loading it
Oops, my bad : /
Ajax.Updater currently does not evaluate scripts in global scope -
that could be the reason why library is not being loaded. Take a
look at this patch http://dev.rubyonrails.org/ticket/11423
Best,
kangax
On Mar 30, 11:04 pm, Brian Williams [EMAIL PROTECTED] wrote:
Hey, I've
Not a problem, I should have mentioned that I was using AJAX.updater.
Thanks for the info, I'll check it out.
On Tue, Apr 1, 2008 at 3:22 PM, kangax [EMAIL PROTECTED] wrote:
Oops, my bad : /
Ajax.Updater currently does not evaluate scripts in global scope -
that could be the reason why
A while back I was on with a problem having to do with a hiding and
show questions in a table based form based on whether a user selected
yes or no radio buttons. If they selected yes to any of the 6
questions then they would be shown additional questions that they
would be required to answer.
18 matches
Mail list logo