All Questions

3
answers

Jquery UI: How to make a draggable element can not be dropped on another draggable element?

I have a code that puts an icon on the screen every time you double click on the screen. These icons that are created are draggable. The problem is that I can drop the icons on top of each other and I do not know what to do to prevent the progra...
asked on 23.07.2016 / 11:53
1
answer

How to solve the segmentation fault (core dumped) error when strtok is printed?

I have been investigating about this error that appears to me when I try to compile the following lines for example: char cadena[] = "hola mundo"; char * div = " "; char * token = strtok(cadena, div); while (token != NULL){ printf("%s\n",...
asked on 30.07.2016 / 22:06
2
answers

Change of frame in javaFX

How can I change from one frame to another by closing the first frame in javaFX ? I have the following code, but it does not work, it does not open the other windows: Proof Windows Class: package pruebaventanas; import java.io.IOEx...
asked on 15.11.2016 / 16:50
2
answers

Convert an array to json from swift

I need to convert an array of strings that I get from an xml, into a json file and then save it in a sqlite database. I have this code: do { let jsonData = try NSJSONSerialization.dataWithJSONObject(dictionaryOrArray, options: NSJSONWrit...
asked on 12.08.2016 / 09:23
2
answers

Generate a wait in browser with C #

I am trying to automate a web page using the gecko engine, it is similar to the webBrowser that has Visual Studio incorporated. I'm using the event navegador.DocumentCompleted += (senderx, ex)=> To wait for the page to be completed, I am...
asked on 25.07.2016 / 14:51
2
answers

Create select with html using ajax

I try to create a select in HTML5 by bringing the data from a .js file that has a $.ajax that calls a URL that has data in JSON. But always throws for error: function(data) and I do not know why, the url is fine for what...
asked on 15.11.2016 / 13:09
2
answers

Open URL from EditText

I'm trying to make an application similar to a browser but without WebView , just a EditText where you put a URL and pressing a certain button opens said URL in the default browser. In case it was not understood, I leave more...
asked on 15.11.2016 / 18:00
1
answer

Bug with dropdownbutton

I'm making a website and I've put a "DropDownButton". I would like to be able to click on all the parts of the button, but it only works if I click on the top part of the button. Here is a video of what happens to me: link Here is the CSS a...
asked on 09.11.2016 / 12:46
2
answers

Save data to files

I need to be able to save several data in a .txt But I do not know how to do it because at the moment of saving it I keep symbols and not what I want Here's how: fprintf (archivo, "%s", cliente, "%d", apartamento, "%d", npiso)...
asked on 10.11.2016 / 00:07
3
answers

How do I remove the autoplay from an embed?

I have the following html code: <embed width="320" height="50" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.globalhost.com.ve/shoutcast/reproductor3.swf?s=2&p=60" play="false" loop="false" type="application/...
asked on 10.11.2016 / 14:56