Posts by Furlan • 2,342 points
112 posts
-
1
votes1
answer111
viewsQ: Export Sharepoint list to json using jquery
I’m using the sharepoint and would like to know if there is any way to export the list from Sharepoint to json, that is, to make a ajax
-
0
votes2
answers1946
viewsQ: Datatables problems using PHP and Mysql
i made a system, where the user can create table for the database, and tbm can create columns, so I don’t know which columns were created, but with the database script I can list the columns of this…
-
1
votes1
answer211
viewsQ: Format JSON - PHP and Mysql?
I need to ride a json as follows: [ {"SUPERMECADO 1": {"telefones": [ "1999999999","1999999991"]} }, {"SUPERMECADO 2": {"telefones": [ "1999999992","1999999993"]} } ] But currently my SQL is…
-
0
votes1
answer315
viewsA: How to create table relationship in mysql
@time INNER JOIN or LEFT JOIN, example: SELECT * FROM professores p INNER JOIN alunos a ON a.idProfessor = p.id
-
-1
votes1
answer63
viewsA: Sort Magento search result
Guys, I managed to solve with this plugin, follow the link: Plugin link to sort by stock…
-
0
votes1
answer63
viewsQ: Sort Magento search result
I need to order the search result of the products in Brazilian by stock, that is, when looking for some product, I need to show those who have stock for those who have no stock, thanks.
-
1
votes1
answer5452
viewsQ: Client Registration Area in Wordpress
Is there any plugin who registers clients for the wordpress? I need a separate area of the login area where customers can register to receive files and the like. Obs.: I need these customers to…
-
0
votes0
answers82
viewsQ: Filter Webservice Products Gento
Hello, I’m working on a webservice that lists all products from my store and would like to set a filter that returns only products that have Qtde in stock, how can I do this? below are my codes of…
-
4
votes1
answer829
viewsQ: Url friendly in ASP.NET Web Forms
I would like to know how to make URL friendly in C# ASP.NET. I tried to use in the file: global.asax but it didn’t work.
-
0
votes1
answer145
viewsQ: Error picking JSON from text - JQUERY
I’m rescuing a json of a text, however, the following error occurs: XMLHttpRequest cannot load http://www.vagas.com.br/vagas/feeds.js?q=engenheiro. No 'Access-Control-Allow-Origin' header is present…
-
-1
votes1
answer33
views -
2
votes1
answer3205
viewsQ: Error 500 while accessing page using Checkspelling in htaccess
I have several files with image tags, in these images the name of the path has uppercase and lowercase letters, for example: <img src="../../imagens/Botoes/nomeBotao.PNG"> It is not possible…
-
-2
votes4
answers728
viewsA: Dynamically assign function
Use jQuery to make integrations in the interface I hope that’s what you’re looking for. below the code: <body> <div class="box1"> <h2> Div1 </h2> <button…
-
-7
votes1
answer166
viewsQ: Edit MVC . NET error
I have an error when I edit my registration, my Physical Model is like PartialView,the following error occurs: Attaching an entity of type 'Projeto.Models.Fisica' failed because another entity of…
-
-1
votes3
answers1931
viewsQ: Breaking Bootstrap Columns
I’m making a structure with bootstrap, according to the "laws" of bootstrap one should use col-xs-12 col-md-12 I’m making 2 main columns with columns inside, example: CODEPEN EXAMPLE the right…
-
-2
votes1
answer895
viewsQ: How to make the Dynamic Datatable column
recently I asked a question: Error using JSON with datatable What I need is similar, only I need to leave the name of the dynamic column, I mean, I would have some way to get the property of my json…
asked Furlan 2,342 -
-3
votes1
answer368
viewsQ: Error using JSON with datatable
I’m trying to implement my json using the tool datatable, follows my json: [ {"Nome":"Felipe","Data":null,"Tipo":"Normal","RG":"123456798"},…
-
0
votes3
answers4496
viewsQ: onchange Select does not work - jQuery
Hello guys I’m doing the onchange on the tag select but not working, I’m using the plugin JS Google for cities and states, example: JSFIDDLE: http://jsfiddle.net/fn7c57ag/1/…
-
-2
votes3
answers910
viewsQ: Field CPF, CNPJ and Other Document - jQuery validation
I have a field where you can write the CPF, CNPJ and Other Document. The field is no mask, while the "Other Document" can be any number or letter. How can I make these validations in jQuery? Check…
-
0
votes2
answers88
viewsA: Increment Viewbag in . cshtml
I managed to do so: on my controller, I started my viewbag: ViewBag.count = 0; in the view: @foreach (var telefone in Model.Telefones) { @Html.Partial("Telefone", telefone) }…
-
-1
votes2
answers88
viewsQ: Increment Viewbag in . cshtml
I need to step up my ViewBag on my page .cshtml, to my PartialView in my Controller I start her off: ViewBag.count = 0 On my page .cshtml need to increase: example: @{ for (int i = 0; i < 10;…
-
5
votes5
answers1041
viewsQ: localhost does not have access to the requested page
I’m trying to access a URL in AJAX but it’s making the following mistake: Xmlhttprequest cannot load http://receitaws.com.br/v1/cnpj/MEUCNPJ. In the 'Access-Control-Allow-Origin' header is present…
-
0
votes1
answer849
viewsQ: How to add html inside a tag - Popover
I need to put tags inside the data-content of popover, How should I use quotation marks? example: <a href="#" data-toggle="popover" data-html="true" data-content=" <div> <span…
-
1
votes1
answer72
viewsQ: How to build a list in Controller and mount a Dropdownlist
I have the following difficulty. My class addresses have the TipoEndereco, wanted to mount a dropdownlist Shall I set up a list on the controller? I got her in the view? Thank you.…
-
1
votes2
answers157
viewsQ: Add @onchange to Editorfor using Razor
Hi, I’m trying to add @onchange to my EditorFor, Yeah, I’m gonna have to add that field dynamically CURRENT LINE @Html.EditorFor(model => model.CEP, new { @class = "classe" }, new { @onchange =…
-
1
votes1
answer319
viewsA: Post null no Edit MVC
SOLUTION Very simple solution, my EditorTemplates has to be the same name as mine Class instead of using @Html.Partial("~/Views/Shared/EditorTemplates/_PessoaFisica.cshtml", Model.Fisica) use:…
-
1
votes1
answer319
viewsQ: Post null no Edit MVC
Hey, I got this situation, man Edit returns a group of Classes filled for editing. In my View the data is filled correctly, however, when I edit a field and have it saved in the Edit (Post) my Model…
-
2
votes2
answers399
viewsQ: Use Viewbag as counter
Is there any way I can use the ViewBag as an accountant? WHAT I NEED? I’m making phone registrations. When I add a new phone, I send my View for my Controller and he returns me to PartialView of my…
-
4
votes1
answer144
viewsQ: Several Books for Author
Recently I asked a question about my problem, but it got a little hard to understand, here I will try to summarize my problem. I’m using ASP.NET MVC. I have 2 tables: Autores and Livros, where 1…
-
3
votes1
answer1051
viewsQ: Create fields dynamically and set in model
I am developing a register, where I have my fields according to my model: public class Autor { [Key] public int IdAutor { get; set; } public string Nome { get; set; } public DateTime DataNascimento…
-
0
votes2
answers1226
views -
0
votes1
answer139
viewsA: Form does not validate using Partial View
I put this code in after I got the AJAX //allow the validation framework to re-prase the DOM jQuery.validator.unobtrusive.parse(); //or to give the parser some context, supply it with a selector…
-
0
votes1
answer139
viewsQ: Form does not validate using Partial View
I’m using Partial View for registration of Pessoa, that is, in my View have two RadioButton: Pessoa Fisica and Pessoa Juridica, when selecting the Radio Button I’ll tell you what ajax: $(function ()…
-
3
votes1
answer545
viewsQ: Inputmask by the model
Hello, I’m using the plugin jQuery - maskedInput, where I take the id of my input and make the mask: $("#CPF").mask("999.999.999-99"); is working, only that would like to use this mask through the…
-
8
votes2
answers500
viewsQ: How to use Regular Expression correctly
I’m studying about the RegularExpression, But I don’t quite understand. In my Model the property CPF must be filled in by numbers only: [RegularExpression(@"[0-9]", ErrorMessage = "CPF deve conter…
-
7
votes1
answer1457
viewsQ: How to use multiple models in a view
I’m doing a criminal record and I have the following models: Pessoa Fisica Juridica And in the code of mine view I have only the declaration of a model: @model CodeFirst.Models.Fisica The problem is…
-
1
votes2
answers126
viewsA: Edit MVC with Foreign Key
No Edit do LivrosController: ViewBag.listaAutores = db.Autores; Na View do Livros: @Html.DropDownListFor(model => model.IdAutor,…
-
3
votes2
answers126
viewsQ: Edit MVC with Foreign Key
I need to upgrade my editLivros, Next I’ll explain my project. Autores ------- IdAutor Nome Livros -------- IdLivro Nome IdAutor I am registering the Authors and Books correctly, when I am…
-
3
votes2
answers419
viewsQ: Error creating data with foreign key
Hello, I am not able to insert data in a table that has foreign key, follow my model: 2 tables, Departamento and Funcionario, the official has the foreign key IdDepartamento. And I ran the…
-
2
votes1
answer62
viewsQ: How to see object in c#
Hello, how can I see my object in c#, as the var_dump() in php, an example, to show the objects' orientations, follow my code: [HttpPost] [ValidateAntiForgeryToken] public ActionResult…
-
1
votes2
answers797
viewsQ: case and minuscule differences in the URL
on my page, I have several images and the form that this writing on the path has uppercase and minuscule, for example, <img src="imagens/ImagemSistemaDepartamento.JPG"> needed that somehow…
-
2
votes1
answer1917
viewsQ: Insert value into the array at a given position via a conditional
I have the following array: array(143) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(5) "item1" [3]=> string(5) "item2" [4]=> string(5) "item3" } and my following logic to find…
-
-2
votes2
answers494
viewsA: Save variable in Javascript and pass in getjSon URL
Hello, friend, I think the best solution would be to use ajax, follows below the code: <script type="text/javascript"> $(document).ready(function() { $('#btn_entrar').click(function(){ var…
-
0
votes1
answer410
viewsQ: Change directory to HTML to understand src target
I have the following structure: /help/ admin/ index.php imagens/ botoes/ botao1.jpg botao2.jpg SISTEMA1/ paginas/ pagina1.htm pagina2.htm imagens/ imagem1.jpg imagem2.jpg SISTEMA2/ paginas/…
-
2
votes1
answer425
views -
3
votes1
answer92
viewsQ: Index and automatic values
I have the following Json: {"result":[ [ {"ID_CTE":"1","ABREV":"301CAGSP","MODELO":"CT","NUMLANCTO":" 71","NUMCONHEC":"…
-
4
votes1
answer691
viewsQ: Know the JSON object name
I have a JSON and need to know the name of my object and the values it has, for example: {"Pessoas" : [ {"Nome": "Welson Play", "Idade":19}, {"Nome": "Stephanie", "Idade":15}, {"Nome": "João Pedro",…
-
2
votes1
answer1040
viewsQ: Error 503 "No 'Access-Control-Allow-Origin' header"
I am trying to make a connection in datasnap using ajax my code: var url = 'http://cloud.nooven.com.br:12345/datasnap/rest/TServerMethods1/CriaSessao/'+cpfCnpj+'|'+usuario+'|'+senha;…
-
-2
votes1
answer246
viewsQ: Tag DIV exceeding width
I have my portfolio and I have some <div> is estourando the width, but not found. Link to the website in the image the overflow…
-
1
votes0
answers39
views