Posts by Ivan Vilanculo • 262 points
6 posts
- 
		4 votes1 answer3390 viewsA: How to pick a td value from the column nameIt is possible to pick up the value of td using the column name, but for this you need to define your own function because javascript or jquery alone do not do this. And also note that even so it… 
- 
		1 votes1 answer84 viewsA: Javascript Function call with parameterFor the proper effect you can use the function $.proxy() jquery! This function takes a function and returns a new one that will always have a particular context. To be more concrete see the example… javascriptanswered Ivan Vilanculo 262
- 
		0 votes2 answers60 viewsA: Access the data returned in the success of an ajax request, within a $('form'). on('Submit'...)Ajax requests are async that is, they do not block the normal execution flow of your code. Therefore enas do not return anything at all! How can you ultairon your problem?? For this it is necessary… 
- 
		2 votes2 answers7633 viewsA: How to format a full date?There is already the answer to the question, but for future reference questions, there is a very good library to manipulate time momentjs! moment.locale('pt'); moment().format('MMMM Do YYYY, h:mm:ss… javascriptanswered Ivan Vilanculo 262
- 
		0 votes1 answer63 viewsA: How to work with javascript objectYou have two ways of doing this! One is writing this information in the header of your page as a Javascript variable and the other is pulling via ajax from Javascript to your controller! Only after… 
- 
		3 votes1 answer453 viewsA: See table row by column name in Laravel?Produto::where('prod_id',123)->get(); or Produto::where('prod_id',123)->first(); Where Produto is the class of the Model Updating Laravel by default uses the column id as id of your Models, to…