Questions tagged as 'html'

1
answer

Add to cart with Ajax without updating page - Laravel

Hello, I'm trying to use Ajax in a form to add products to the cart without refreshing the page but I can not if someone can help me. I'm using Laravel 5.3 based on this site : HTML <form id="form_ideal" action="/cart/add" method="po...
asked by 11.09.2017 / 22:42
2
answers

Read HTML inside a confirmButtonText of the SweetAlert plugin

I have an action created by the SweetAlert plugin that needs a button with very long text because it is a very sensitive option and can lead to errors. swal({ title: data['title'], text:...
asked by 11.09.2017 / 15:33
1
answer

Error: cribsFactory.getCribs is not a function

I have this controller angular .module("ngCribs").controller("cribsController", function ($scope, cribsFactory) { $scope.cribs = cribsFactory.getCribs(); }); and this factory angular.module("ngCribs") .factor...
asked by 03.09.2017 / 07:18
1
answer

Validation of data submitted by the form

I am doing the validation of a form and I am facing a problem that I can not solve. First, I make a foreach and check if there is any $_POST empty, if any, it executes: $error[$key] = "*"; . Then, below the input , I check if the...
asked by 04.09.2017 / 01:03
1
answer

Change icon and display none / block

Hello, I'm trying to make so that when the button is clicked, change the visibility of a div and the icon changes. If I remove the part that refers to the icons, the visibility is changed normally, but with the whole code, nothing happens. Home...
asked by 31.08.2017 / 22:03
2
answers

Get date-ref of different buttons

I've created a system where it displays data from a mysql table via the datable plugin. One of the data is a modal. The javascript code takes data-ref , which contains id . This id will be used in future% queries...
asked by 31.08.2017 / 22:59
3
answers

Html, Icon respecting the background color of the page

I'm inserting in my page an image that has an event, this image has a drawing, and the background of the drawing is white, I would like this background of that drawing to be filled with the same color as the page. The page is gray, but the dra...
asked by 01.09.2017 / 15:54
1
answer

Ajax stacking requisitions

I have a web page that displays a list of people registered in my DB. Each name is a hyperlink that, when clicked, an Ajax function opens a modal containing information specific to the person and leaves the radio buttons selected according to th...
asked by 30.08.2017 / 21:16
0
answers

Generate MySQL dynamic header

I have below a problem that I can not solve. How do I get the header to have the employee's name and below it the revenue that was generated by the date? And how would an HTML table look like these? The first image is a simple query tha...
asked by 30.08.2017 / 20:53
1
answer

Input field is not loading default value "value"

I have the field: <div class="form-group"> <label style="color:white" for="valor">Valor</label> <div class="input-group"> <input type="number" value = "0" class="form-control" step="any" name="valor" ng-mod...
asked by 30.08.2017 / 21:51