Posts by Raphael Rosa • 172 points
12 posts
-
0
votes0
answers53
viewsQ: React-router: Maximum Callstack Exceeded
I’m trying to configure the routes for my application but when I get official example on github an error of "Maximum Callstack Exceeded". I’ve checked everything point by point and can’t find my…
reactasked Raphael Rosa 172 -
3
votes1
answer164
viewsA: How to stack Bootstrap modals with the backdrop above the previous modal?
As the answer accepted In that question you can use the following code: $(document).on('show.bs.modal', '.modal', function () { var zIndex = 1040 + (10 * $('.modal:visible').length);…
-
0
votes2
answers48
viewsA: get combo field values before saving
try using the following code var valores = $('select[name^=legenda]').map(function(idx, elem) { return $(elem).val(); }).get(); it will return an Array with all values of all fields within the…
-
1
votes2
answers1863
viewsA: Disable form Submit button inside a modal bootstrap window
The problem is the name of the property disabled. instead of $('#cxEditaEvento').find('button').prop('disable',true); $('#cxEditaEvento button:contains('Salvar')').prop('disable',true); trial:…
-
1
votes1
answer91
viewsA: Formatted text box(code sample)
Take a look at this plugin: https://codemirror.net/ It is used inside another plugin I’ve used where I work called Froala Editor. Inside the Froala Editor is the Code Mirror that takes care of the…
-
1
votes1
answer1103
viewsA: Codeigniter - Dynamic form
When I need to do an ajax on a controller I do so: <script> $(function (){ $.ajax({ type: 'GET', // ou post url: '<?= site_url('controller/action'); ?>', dataType: 'json', success:…
-
1
votes1
answer332
viewsA: Validation of a Dynamic Select Option
I’d do it this way: Define the Count function within the scope of an object of the Array type // Definição de função no escopo de Array para contar // quantas vezes um elemento aparece no conjunto.…
-
0
votes1
answer583
viewsA: Dynamically load contents via <select> tag
I couldn’t quite understand your question, but based on my experience what I normally do when I need to load dynamic content according to a select type input is as follows: I create a script tag…
-
1
votes0
answers155
viewsQ: requireJS and Jquery causing dependency problems
I’m trying to apply requireJS to my application, because I’m having some problems. require-config.js var require = { paths: { "jquery": "/admin/admin-v2/bower_components/jquery/dist/jquery.min",…
-
1
votes1
answer72
viewsQ: Problem with database insertion
I have in my system the following code: public int insert_dependente(Dependente dependente) { ResultSet r; int result = 0; if (!(dependente == null)) { try { Connection conn = new…
-
2
votes1
answer107
viewsQ: Problem with Jpgencoder and Filereference
I am trying to save the contents of a Movieclip in an image, but when trying to save the image the following error occurs: image with white space http://www.panrotas.com.br/v2/test.jpg A white space…
actionscript-3asked Raphael Rosa 172 -
1
votes1
answer88
viewsQ: String parse separated by null values
I am using the OpenFileName winapi with multiselect flag. When the user selects several files he returns me a string separated by nulls according to the following model: "[caminho da…