take a look at [http://prototype-window.xilinus.com/] prototype based
window class that does confirm windows and others. ..
On Mon, Nov 17, 2008 at 11:48 AM, Cristisor [EMAIL PROTECTED] wrote:
Hi! I'm trying to build a popup window, something like the confirm
box, but with more than Ok and
Morning Guys ...
I am having a real headache trying to send json data to the server and
have php decode it so i can do something with the data ..
.
Basically what i am trying to do is...
I have a form and i would like to send data to the server in Json form
(key/value pairs) so i can go over it
you can assign the request to a variable
myRequest = new Ajax.Request(..
- Original Message -
From: Manish [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 9:09 AM
Subject: [Proto-Scripty] new
basically i think i need a push method to push values into a json object
then i can try to decode it on the server!!
- Original Message -
From: Jeztah [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 11:51 AM
cant use it as it needs to be custom as stipulated ... i need to get certain
fields from the input elements ..
merge() seems to want to do it but is not working as expected
Thanks
Alex
- Original Message -
From: Mona Remlawi [EMAIL PROTECTED]
To:
ok what about this:
var params = {};
$$('.formJson').each(function(e) {
params[$(e).dbCol] = $(e).value;
}
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 1:43 PM, Alex Mcauley
[EMAIL PROTECTED] wrote:
cant use it as it needs to be custom as stipulated ... i need to get certain
can i send all that into json afterwards to send it to the server ?
Thanks
Alex
- Original Message -
From: Mona Remlawi [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 12:52 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
ok
here's what i will do to send the json to server
---
new Ajax.Request(url, {
postBody: Object.toJSON(params),
contentType: text/javascript,
onSuccess: function(xhr) {
},
onFailure: function(xhr) {
},
onComplete:
I suppose what i need is a push into my json object method ... though i
cant seem to find a working one in prototypejs ..
merge(); and update(); both seem to want to be used with $H() but it updates
with my var ...
Something like {l : doe}
when it should be {surname : doe};
plus it doesnt
Hi,
What Alex posted wasn't a bug -- or at least, wasn't a bug in
Prototype.
What's this other bug you're speaking of? Can you post an example?
--
T.J. Crowder
tj / crowder software / com
On Nov 17, 9:07 am, bluezehn [EMAIL PROTECTED] wrote:
Incidentally, I believe there is a similar bug if
great readings suggested.
when you finish, you can try the following :)
$$('.editable').each(function(e) {e.observe('click', (function()
{this._editField(e)}).bind(this))}, this);
the problem is that when you iterate, you have to specify the context.
On Mon, Nov 17, 2008 at 2:15 PM, T.J.
Hi,
I just started with Scriptaculous. I tried using Effect Highlight
property in the below piece of code.
!-- li id=menu1 onmouseover=new Effect.Highlight(this,
{ startcolor: '#99', endcolor: '#ff', restorecolor: 'true' });
return false; Menu1/li --
I tested it with IE6 and Firefox 3.
true / flase should usually be not in quotes ... try removing the quotes
- Original Message -
From: scripter [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 1:35 PM
Subject: [Proto-Scripty] Javascript error in IE6
Also the code you quote me on was psuedo code just to try to give an idea of
what i am trying to achieve - i know it was unworking !
Alex, you've said that several times now. If you post code that's not
code, please say it's not code to avoid wasting people's time.
Looking at:
var
okay m8 calm down lol its no biggie ..
- Original Message -
From: T.J. Crowder [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 2:01 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
Also the code you
Guys, please stay courteous (and that includes avoiding shorthand).
Thank you!
Tobie
On Nov 17, 3:33 pm, Alex Mcauley [EMAIL PROTECTED]
wrote:
okay m8 calm down lol its no biggie ..
- Original Message -
From: T.J. Crowder [EMAIL PROTECTED]
To: Prototype script.aculo.us
No problems here.
- Original Message -
From: Tobie Langel [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 2:48 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
Guys, please stay courteous (and that
T.J. - Mona,
Thank you both very much for your solutions, recommended reading lists
and T.J, for your event delegation suggestion. FYI Mona's solution
worked out of the box but T.J. your event delegation suggestion makes
a lot of sense - I suspect I will add a new method to my class to
handle
Good call George, I'll do the same :)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:13 PM, George [EMAIL PROTECTED] wrote:
T.J. - Mona,
Thank you both very much for your solutions, recommended reading lists
and T.J, for your event delegation suggestion. FYI Mona's solution
On Nov 17, 4:13 am, Mona Remlawi [EMAIL PROTECTED] wrote:
[...]
I'm wondering if this is a good practice. Are there any insights that
i should be aware of? Are the private methods/functions being
duplicated for each of myclass instance?
If what you need is to create private static (class)
Super, I like the word shared. I'll keep an eye not to have any
state in the private block :-)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:23 PM, kangax [EMAIL PROTECTED] wrote:
On Nov 17, 4:13 am, Mona Remlawi [EMAIL PROTECTED] wrote:
[...]
I'm wondering if this is a good
on teh same ish subject, this cropped up on ajaxian today !!... might be
worth a read
http://ajaxian.com/archives/trying-to-be-private-in-javascript
- Original Message -
From: Mona Remlawi [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008
Hello:
I've been trying to use Ajax.Request(). The following is my code:
function retrieveProjectPermissions(stateDataID, projectID) {
new Ajax.Request('/gallupFaith/me25/
ProjectPermissionsAjaxAction.action',
{
method:'get',
parameters: {statedataid: stateDataID,
On Nov 17, 12:13 pm, badgerduke [EMAIL PROTECTED] wrote:
Hello:
I've been trying to use Ajax.Request(). The following is my code:
function retrieveProjectPermissions(stateDataID, projectID) {
new Ajax.Request('/gallupFaith/me25/
ProjectPermissionsAjaxAction.action',
{
On Nov 17, 12:16 pm, Joe Moore [EMAIL PROTECTED] wrote:
I'm trying to use the bind to the windows.onscroll event with
Event.observe, but it doesn't work. No error is reported.
Here is a small bit of JavaScript I am using:
function initPage()
{
Event.observe(window, scroll, function() {
I've seen postings similar to my problem, but they didn't answer my
question.
Within an iframe, I've defined a div id='target/div
Within the same iframe, I have some javascript:
script
function ajaxrefresh() {
window.document.getElementById('target').innerHTML='...Loading';
new
Hello,
Is there any signs of having intellisense for prototype in Visual
Studio??...the same way it works for Jquery??
Is there any prototype.vsdoc.js file available??
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi, I'm just new to the group - it is proper to ask support questions
here? I'm having trouble with dom:loaded on IE6, any ideas where to
look? Everything is fine on Firefox. Another area of trouble seems to
be on Safari (Windows) getting at selectors like $$
('table#tblTMRoster'). Again, any
28 matches
Mail list logo