DAPATKAN DANA HIBAH HINGGA PULUHAN JUTA RUPIAH

2008-09-11 Thread fatriyanto akase
Program ini ditujukan bagi siapa saja yang saat ini membutuhkan bantuan dana untuk keperluan yang positif seperti : • Investasi membuka/mengembangkan usaha • Biaya sekolah atau kuliah (Beasiswa), dalam dan luar negeri • Kegiatan sosial, termasuk LSM •

[Proto-Scripty] Re: a problem with IE

2008-09-11 Thread Justin Perkins
On Thu, Sep 11, 2008 at 11:21 PM, zaher ghaibeh <[EMAIL PROTECTED]> wrote: > > can i ask you where you got this rule from ? It's not really a rule, just a good practice so that you can move your code from server to server and your code will work without alteration. If you always hardcode the doma

[Proto-Scripty] Re: a problem with IE

2008-09-11 Thread zaher ghaibeh
can i ask you where you got this rule from ? thank you justin . On Sep 11, 8:18 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > In your Ajax requests, are you specifying a complete URL or a relative > URL? All URLs you provide to the Ajax request should be relative. > > Like: new Ajax.Request('

[Proto-Scripty] Re: a problem with IE

2008-09-11 Thread zaher ghaibeh
in my code there is some dom building , and one of the elements is an image , and i add the url from my database so that the user can get it no matter where i use the function . other wise there is no any other reason On Sep 11, 8:18 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > Hi, > > > http

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread Daniel Lopes
Thanks Diogo... this fix my problem: function check_entries(){ sum = 0; $$("#entries_list input:checked").each( function(e) { value = $("value_"+$(e).id).innerHTML; value = currency_to_float(value); sum += parseFloat(value);

[Proto-Scripty] Re: Disabling Scriptaculous autocomplete

2008-09-11 Thread Nithi
I tried that. Once I initialize that variable I am not able to reassign it to anything else. I even tried changing the searchbox tag name when I click the checkbox so that it wont show up on the screen. It just isn't working On Sep 11, 3:07 pm, bluezehn <[EMAIL PROTECTED]> wrote: > Since an autoc

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread Daniel Lopes
This not solution when you want use grids... table are not for layout, right use is to display data, layout must be maded in divs. On 11 set, 23:46, RobG <[EMAIL PROTECTED]> wrote: > On Sep 12, 7:12 am, Daniel Lopes <[EMAIL PROTECTED]> wrote: > > > > > Hello, i'm trying create function that sum t

[Proto-Scripty] Re: How to handle non-JavaScript browsers when using Ajax.Updaters for content

2008-09-11 Thread Ken Snyder
On Thu, Sep 11, 2008 at 6:19 PM, dustin <[EMAIL PROTECTED]> wrote: > > That seems like it would work nicely, but doesn't it pretty much > negate the gracefulness of using Ajax to insert content into a DIV > (the grace that allowed me to stop maintaining clumsy header.php, > footer.php, navbar.php,

[Proto-Scripty] Re: How to separate markup from javascript while handling JSON data

2008-09-11 Thread Ryan Gahl
Hi guys. I just want to throw in what our approach to this problem is, along with perhaps some added value. I don't necessarily call this architecture "MVC" (although maybe some would), but rather we say we take a "Widget" or "Component" approach, where it's the widget's job to define/encapsulate i

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread RobG
On Sep 12, 7:12 am, Daniel Lopes <[EMAIL PROTECTED]> wrote: > Hello, i'm trying create function that sum the content of td when > other td in same tr has checkbox checked... i try use someting like $$ > (".entries_list input:checked") but return only input and not row or > cell i want sum. > >

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread Daniel Lopes
Thanks Diogo, i will try something like this... Justin, my problem is a table with rows, each row has checkbox... I want get value of specific td on the same row of checkbox. On 11 set, 20:03, "Diogo Neves" <[EMAIL PROTECTED]> wrote: > Hi, > I think the easiest method is add an id in your td with

[Proto-Scripty] Re: Are events fired after an LivePipe modals are loaded?

2008-09-11 Thread Dustin S
I found another way to make this work too. It turns out the solution was in the LivePipe system, since it provides an "afterOpen" option to any object you create, which is just like Prototype's "onComplete": 57 var w = new Control.Modal(container,Object.extend({ 5

[Proto-Scripty] Re: How to handle non-JavaScript browsers when using Ajax.Updaters for content

2008-09-11 Thread dustin
That seems like it would work nicely, but doesn't it pretty much negate the gracefulness of using Ajax to insert content into a DIV (the grace that allowed me to stop maintaining clumsy header.php, footer.php, navbar.php, etc, and piecing together based on the user- agent type)? On Sep 11, 3:41 p

[Proto-Scripty] Re: How to separate markup from javascript while handling JSON data

2008-09-11 Thread Justin
Yes very much MVC style separation of concerns. I didn't want to reinvent the wheel with how my view implementation is done and being new to the front-side of things, I wasn't sure which direction to take, but certainly one that would entail the least amount of duplication of code and as much sepa

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread Diogo Neves
Hi, I think the easiest method is add an id in your td with value, then do a $$(".entries_list input:checked").each( function( elem ) { valor = $('value_' + $(elem).id).innerHTML; // Do stuff with it :P }); On Thu, Sep 11, 2008 at 10:12 PM, Daniel Lopes <[EMAIL PROTECTED]>wrote: > > Hello, i

[Proto-Scripty] Re: How to separate markup from javascript while handling JSON data

2008-09-11 Thread T.J. Crowder
Hi Justin, If you're thinking MVC, off-the-cuff I'd say think of the client-side script as the Controller, the HTML as the View(s), and the server-side stuff as the Model. So an Ajax request is a message from the Controller to the Model. The data coming back knows nothing about the Views; the C

[Proto-Scripty] Re: How to handle non-JavaScript browsers when using Ajax.Updaters for content

2008-09-11 Thread Ken Snyder
Dustin S wrote: > I've got a homepage right now with a few links that each use an > Ajax.Updater to XHR-in some content that gets shoved into the middle > of my page. I'm wondering how to gracefully handle two things: > > (1) Users with normal browsers (i.e. JavaScript capable) who want to > di

[Proto-Scripty] Re: How to separate markup from javascript while handling JSON data

2008-09-11 Thread Diogo Neves
Hi all, I'm not an expert in javascript/prototype too, but i think u can see the template class... It seams to be perfect for what u mean. http://www.prototypejs.org/api/template On Thu, Sep 11, 2008 at 11:17 PM, cyiam <[EMAIL PROTECTED]>wrote: > > I'm not a javascript expert, so prototype hand

[Proto-Scripty] Re: How to separate markup from javascript while handling JSON data

2008-09-11 Thread cyiam
I'm not a javascript expert, so prototype handles AJAX and JSON easily. And I am a newbie on prototype! You can use use the dot notation to get the result from JSON. For example, if your JSON object is named "customerName", then in your onSuccess or onComplete function, you can access the object

[Proto-Scripty] Re: Get value from table cell when table row have checkbox checked

2008-09-11 Thread Justin Perkins
I don't quite understand, when you click the checkbox in the first cell what are you trying to sum? -justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group,

[Proto-Scripty] How to handle non-JavaScript browsers when using Ajax.Updaters for content

2008-09-11 Thread Dustin S
I've got a homepage right now with a few links that each use an Ajax.Updater to XHR-in some content that gets shoved into the middle of my page. I'm wondering how to gracefully handle two things: (1) Users with normal browsers (i.e. JavaScript capable) who want to direct link to some content on my

[Proto-Scripty] Get value from table cell when table row have checkbox checked

2008-09-11 Thread Daniel Lopes
Hello, i'm trying create function that sum the content of td when other td in same tr has checkbox checked... i try use someting like $$ (".entries_list input:checked") but return only input and not row or cell i want sum. Pagamento 2ª parcela

[Proto-Scripty] How to separate markup from javascript while handling JSON data

2008-09-11 Thread Justin
Hi folks, I'm not an expert on front-end development and if this is the wrong group to post, please point me in the correct direction. I'm looking at ways to separate the HTML layout of a page in javascript from JSON data that I receive from the server. What are the ways to render the JSON on the

[Proto-Scripty] Re: MS Internet Explorer error in prototype file

2008-09-11 Thread Diodeus
I don't see anything wrong with your code. You will have to put in some test points like alert("test a") to narrow down where this error occurs. On Sep 11, 2:55 pm, "Roberto de Oliveira" <[EMAIL PROTECTED]> wrote: > Sorry, I forgot to put my code here: > > > > var Geral = Class.create( > { > __

[Proto-Scripty] Re: MS Internet Explorer error in prototype file

2008-09-11 Thread Roberto de Oliveira
Sorry, I forgot to put my code here: var Geral = Class.create( { __getPessoaFisicaPeloCPF: function ( nu_cpf) { try{ var req = new Ajax.Request('PessoaFisica.php?opt=cpf&nu_cpf=' + nu_cpf.value, { method: 'get',

[Proto-Scripty] Re: JSON, ASP.NET and Date's

2008-09-11 Thread Walter Lee Davis
On Sep 11, 2008, at 2:02 PM, T.J. Crowder wrote: > We probably don't want the JSON deserializer to look at > every string value and make it a date if it happens to look like > one... :-) Right, cuz then it would be like a phone number on MobileSafari. Walter --~--~-~--~~

[Proto-Scripty] Re: JSON, ASP.NET and Date's

2008-09-11 Thread T.J. Crowder
Hi, > Why is it that Prototype's JSON does not attempt to deserialize a date/ > time string that it actually serialized? Because it has no way of knowing that that particular string is meant to be a date. We probably don't want the JSON deserializer to look at every string value and make it a d

[Proto-Scripty] Re: Question regarding Element.observe and Element.stopObserving

2008-09-11 Thread Kruncher
Hi guys! Thanks everyone for clarifying this for me! On Sep 10, 1:45 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > Hi again folks, > > It was already there, ticket #158 from June > 10th:http://prototype.lighthouseapp.com/projects/8886/tickets/158 > > More on the new event stuff in > 1.6.0:h

[Proto-Scripty] Re: JSON, ASP.NET and Date's

2008-09-11 Thread Kruncher
Hi, Yes I totally agree with your comment regarding Ajax! Thanks, that would be fantastic! :D Why is it that Prototype's JSON does not attempt to deserialize a date/ time string that it actually serialized? var jsonDate = new String(new Date().toJSON()); //===> jsonDate == "2

[Proto-Scripty] a problem with IE

2008-09-11 Thread zaher ghaibeh
hello every one : i have this error which am trying to solve , i have add the scripts like this : http://www.domain.com/js/prototype.js";> http://www.domain.com/js/myscript.js";> in myscript.js i used many prototype Ajax method when the user go to the site by typing www.domain.com , i ha

[Proto-Scripty] Re: a problem with IE

2008-09-11 Thread T.J. Crowder
Hi, > http://www.domain.com/js/prototype.js";> > http://www.domain.com/js/myscript.js";> Is there some reason you can't use relative paths? E.g.,: or -- T.J. Crowder tj / crowder software / com On Sep 11, 6:07 pm, zaher ghaibeh <[EMAIL PROTECTED]> wrote: > hello every one : > i

[Proto-Scripty] Re: a problem with IE

2008-09-11 Thread Justin Perkins
In your Ajax requests, are you specifying a complete URL or a relative URL? All URLs you provide to the Ajax request should be relative. Like: new Ajax.Request('/your/path'); Instead of: new Ajax.Request('http://www.domain.com/your/path'); -justin --~--~-~--~~~---~--

[Proto-Scripty] Re: more than one param for 'accept' in droppables api

2008-09-11 Thread elduderino
Hi Colin...thanks for thati should have realiszed that's what the documentaiton was trying to say! On Sep 9, 10:45 am, ColinFine <[EMAIL PROTECTED]> wrote: > On Sep 8, 10:12 am, elduderino <[EMAIL PROTECTED]> wrote: > > > I need to set more than one class for the accept param in the > > dropp

[Proto-Scripty] Re: Anyone else having Prototype problems on Google Chrome?

2008-09-11 Thread Sebastian
On 10 Sep., 12:46, david <[EMAIL PROTECTED]> wrote: > Hi all, > > I have the same problem, but I notice that extended element are not > extended anymore when the javascript console is open, when you close > it, everything is normal ?? yes, the same behaviour here, a heisenbug: http://en.wikipedia

[Proto-Scripty] Re: Using onEnd event to perform external procedure

2008-09-11 Thread Matt Foster
Code looks ok, but what do you mean by an external event, please define that more clearly. On Sep 11, 12:08 pm, mskrodzki <[EMAIL PROTECTED]> wrote: > Here is the code I have so far: > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http://www.w3.org/1999/xhtml";> > > > http:/

[Proto-Scripty] Re: scriptaculous and UMTS / mobile connections

2008-09-11 Thread Arthur van Assenderp
Hi TJ, Thanks for testing it. This is actually pretty strange, I will further see if I can find where is the problem. Indeed 3G is a lot faster than the other options if not using WiFi :) Arthur On Wed, 2008-09-10 at 15:17 -0700, T.J. Crowder wrote: > Hi again, > > I was out and about earli

[Proto-Scripty] Re: Where is the source?

2008-09-11 Thread kangax
On Sep 11, 9:59 am, "Richard Quadling" <[EMAIL PROTECTED]> wrote: [snip] > With that, Kangax reply suggests that there is no 1 source, but each > dev has there own version. I think that's what he said. Not exactly. JDD's fork has some experimental patches that can not be in the core for certain r

[Proto-Scripty] Re: Using onEnd event to perform external procedure

2008-09-11 Thread mskrodzki
Here is the code I have so far: http://www.w3.org/1999/xhtml";> http://tsg/UnmannedScale/ maindispatch.asp"> Untitled Document