You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 vitalz...@gmail.com on 9 Mar 2015 at 9:01
Original issue reported on code.google.com by
vitalz...@gmail.com
on 9 Mar 2015 at 9:01Attachments:
The text was updated successfully, but these errors were encountered: