this works
-----------------------------------
<html>
<head>
<script src="prototype.js" type="application/x-javascript"></script>
        <script>
        function llamar()
        {
                new Ajax.Request('proceso.php',
                                {
                                        parameters: {company: 'example', limit: 
12}
                                }
                );
        }
        </script>
</head>
        <body>
                <div id="zona">
                </div>
                <input type="button" value="Ajax" onclick="llamar()" />
        </body>
</html>
--------------------------------------------

this don't works
---------------------------------------------

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
    id="findfile-window"
    title="Find Files"
    orient="horizontal"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/
there.is.only.xul">

<script src="prototype.js" type="application/x-javascript">
</script>
<script>
function llamar()
{
        new Ajax.Request('proceso.php', {method: 'get', parameters: {company:
'example', limit: 12}});
}
</script>
<commandset>
        <command id="loginCmd" oncommand="llamar()"/>
</commandset>

<button label="Sign in" command="loginCmd"/>
</window>

--------------------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to