Questions tagged as 'javascript'

3
answers

Why is it bad practice to use inline Javascript?

The title already describes the question: why is it considered bad practice to use CSS and Javascript inline in our codes? Is it bad to use this even on smaller projects?     
asked by 18.07.2014 / 17:09
0
answers

Create a drag for multiple SVG objects

I'm using Vue.js to create a jflap clone. However I'm having trouble creating the drag for each object. In the case, the circle when clicking and dragging this, should follow the mouse path until the release of the button where it should remain...
asked by 03.07.2015 / 23:29
0
answers

Embedded application with Javascript and AngularJS [closed]

Is everything good? I need a light. I'll describe a brief scenario: Imagine an application in FLASH (for display of videos, streaming, dynamic media, etc.) and C (memory control, internal http server for communication between flash and C, stor...
asked by 30.06.2015 / 14:10
1
answer

$ .get callback is not called and I can not debug to find out the reason

I'm developing a mobile application (with cordova) that needs to do a select in the BD online, and with this data update the mobile phone's DB, however I came across a problem, I perform the select in the DB of the mobile phone after performing...
asked by 01.07.2015 / 17:56
1
answer

Doubt with Regex

Good evening. I need a regular expression that can capture numbers / expressions before and after a given character, such as this ^ . For example, in the string below I need it to return (5 * 77 + 4)^6 and 7^3 : 5! + 8...
asked by 21.12.2015 / 03:36
4
answers

How to apply! important of CSS via Jquery?

I'm trying to apply a style to my element and define its importance in this way: $('div').css('height','50px!important'); However, it does not work, what would be the right way?     
asked by 07.01.2014 / 13:52
2
answers

a div appears depending on the selected select

I have a select, and depending on the choice of the same select, a form will be shown to insert a contact. I have to keep in mind that the first option of the select already has the form to be shown by default, that is, the user when the page op...
asked by 15.07.2014 / 17:43
1
answer

How do I access the clipboard image from the browser?

Does anyone have any idea how to access the image that is in the clipboard when we give a Print Screen on any screen? What I need is to have access to the image by giving ctrl + v to the browser, just like this application works: link...
asked by 03.06.2014 / 16:02
0
answers

Is it possible to get an item from a json array to change an attribute of a rect in raphaels.js? [closed]

I would like to make an array that could serve as a database for my map represented by these 3 rectangles. The array will contain numbers that will serve as indicators for the colors of the rectangles. If item 1 of the array is 0, rectangle 1 wi...
asked by 11.06.2014 / 20:03
0
answers

JQGRID Frozen columns - Duplicating information [closed]

I am using the frozen column option, as it is in the documentation, as follows: jQuery(grid_selector).jqGrid({ url:urllst, datatype: 'json', height: 'auto', width: 'auto', ignoreCase: true, colNa...
asked by 02.07.2014 / 22:10