Questions tagged as 'javascript'

1
answer

Hide divs father if son div has certain text

I have an html file with more than 3500 div and I need to create a function with jQuery to hide the div parents if a div child has certain text (eg: "code"). How could I do it? This is my function, but I can not get it to...
asked by 13.09.2018 / 20:34
1
answer

Problem with AJAX result in a required jQuery rule Validate

I have an incident with an answer that I have in an AJAX, all this within a depends of a rule required in a JS with jQuery Validate for the validation of a form. I leave the code that I am running: $('#form').validate({ ig...
asked by 17.03.2016 / 11:59
1
answer

Show div based on combination of Selected options

I am trying to show different DIVs based on the selection of 2 'option' but if I want to show 2 times the same div with different 'option' they are not displayed. div1 = 3 + 5 (not shown) div2 = 2 + 7 (shown) div1 = 4 + 4 (shown) Why...
asked by 27.03.2016 / 15:27
1
answer

Convert to popoup partial view

I am working with ASP.NET MVC5, I have an index view in which I have a WebGrid , from which I call my partial view, all the code to call the partial view from the controllers goes well, the problem is that when I call her popoup is not sho...
asked by 17.03.2016 / 22:14
1
answer

Clone a complete table without classes and validate both tables

I would like to leave you with the following concern, since I have been struggling for a long time with this and I have not been able to correct what happens. I have this HTML: <div class="clone-group" > <table border="0" class="fo...
asked by 21.03.2016 / 18:58
2
answers

Open PDF Typescript

I'm trying to show a PDF with Typescript, it comes to base64 and I decode it to see the array of bytes. The PDF of opens, but blank, the pages coincide, but it is all without content. The content in base64 I leave here PDF in Base64 R...
asked by 28.11.2018 / 10:04
3
answers

Pass JavaScript variable to PHP

Good afternoon, classmates, I have a problem, I hope you can support me, I need to pass data stored in a variable using JavaScript to PHP, how can I do that? I came up with the following but I see that you can not: <body> <scrip...
asked by 22.06.2018 / 19:58
1
answer

JavaSript code is not activated for the text effect 'accordion' in an html document

I'm trying to implement the text effect 'accordion' in an html document but it does not work, something blocks the event and I still do not know what. If I copy and paste the sample code from here into a blank html document, everything work...
asked by 15.04.2016 / 16:15
0
answers

Filter in plugin does not work correctly - ExtJS

I would like to know if you can help me with the following problems that occurred to me when creating filters within the plugin that I am creating. Problem 1: The filter with the listener change I have assigned to clean the data...
asked by 19.04.2016 / 17:11
2
answers

Disable a combo when detecting that a text type input has data

Good Day. I want to disable a combo when a character is detected in the field and vice versa, when I put an option in the combo it disables the imput. Here my code. Putting the onkeyup event and removing the readonly if I disable the combo, b...
asked by 23.01.2018 / 13:47