roestvrijstaal / appml Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/appml
Automatically exported from code.google.com/p/appml
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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.