Giter Site home page Giter Site logo

appml's People

Contributors

hictech avatar

Watchers

 avatar

appml's Issues

Is JQuery and AppML compatible?

What steps will reproduce the problem?

1. HTML5 page, include bootstrap, AppML (<script 
src="http://www.w3schools.com/appml/2.0.1/appml.js"></script>) and JQuery 
(<script 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script
>)

2. Add table inside a <div class='container' appml-data='json.txt'> (JSON.txt 
with jason data, named OCNum, Fecha, Proveedor, Monto, FechaAut, Observaciones, 
json format files at bottom)
Table contains <theader> and <tbody> tags. At the first <tr> from <tbody> goes: 
<tr appml-repeat='pendientes'>

3. A button is added along with each row for future "row removal" <button 
class='btn btn-primary'>. I want to control this button with JQuery to show an 
alert when clicked (for now) using this code:
$(document).ready(function($){
    $("button").click(function(){
       alert(2as");// $(this).hide();
    });
});

What is the expected output? What do you see instead?
Show an alert when the button is clicked but nothing happens.
If I remove the AppML reference, the button works.

What version of the product are you using? On what operating system?
see above, windows XP, Jquery and AppML work fine separated. Already tried 
using the "$.noConclict(){}" thing. and the same


Please provide any additional information below.
Json file:
{
"pendientes":[
{"OcNum":"16060","Fecha":"26/12/2014","Proveedor":"REINRAM","FechaAut":"11/02/20
16","Monto":"$259.8400","Observaciones":"BALEROS ICG10133"},
{"OcNum":"16100","Fecha":"12/01/2015","Proveedor":"TORORIEGO","FechaAut":"17/02/
2015","Monto":"$665.9600","Observaciones":"BASES DE BOQUILLA PARA REEMPLAZAR EN 
ASPERSORES EN CAMPO DE GOLF"},
{"OcNum":"16116","Fecha":"20/01/2015","Proveedor":"TODO 
AIRE","FechaAut":"17/02/2015","Monto":"$2,139.0400","Observaciones":"VALVULAS 
CHECK Y COPLES ALTA PRESION PARA RIEGO"}
]}



Original issue reported on code.google.com by [email protected] on 9 Mar 2015 at 9:01

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.