Posts by anuseranother • 337 points
16 posts
-
1
votes3
answers852
viewsA: Multiple parameters in xmlhttp.send();
Apart than @Rgio referred to, missing insert header xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");. This header is standard in all html Forms, but by disabling the…
-
1
votes3
answers852
viewsQ: Multiple parameters in xmlhttp.send();
I am making an entry in the database with ajax, ajax esa working, but the insertion is not being done correctly, I believe it is because I am passing the parameters incorrectly in the send();method.…
-
1
votes1
answer1102
viewsA: @media in CSS does not work properly
Just add a minimum value. Because the monitor size was less than or equal to 600 and 900px (both measures calculated) it performed both tasks. because then I did the treatment the following way:…
-
1
votes1
answer1102
viewsQ: @media in CSS does not work properly
I have two CSS links on my site: The normal layout, and the "responsive fixes" with @media. To do the tests with different screen sizes, I’m using Firefox’s Resposive Design Mode. When I did the…
-
-3
votes1
answer102
viewsQ: When is the real need to use Javascript?
I’m new to the world of development, and I started with the Front-End. I’ve been looking to specialize in HTML, CSS and especially Javascript, but over time I’ve been realizing that with the…
-
2
votes1
answer2360
viewsQ: Update several fields and values in the same table
I’m making a very simple system for inventory control, and in the part of editing the products, I’m doing it this way: I do a query in a database, and I list text fields with the name of the…
-
1
votes2
answers330
viewsA: Difficulties with slider and overflow:Hidden
The problem was in ul, who was doing the wrap. After adding nowrap in white space by ul’s css, the content was no longer "wrapped up", and stood side by side. By default, the elements when they…
-
0
votes2
answers330
viewsQ: Difficulties with slider and overflow:Hidden
I have a structure in HTML and CSS to make a slider, should work as follows: The images are next to each other, however, only one appears on the screen, and as the images will be next to each other,…
-
3
votes2
answers1728
viewsQ: I cannot check whether an array is empty or null
I need to display a message whenever my array is empty or null, but I’m not getting it. I call the JS function in PHP, passing an array with json_encode. It works perfectly, but it doesn’t check if…
-
2
votes1
answer560
viewsQ: Pass array as parameter does not work
I need to pass an array as parametor to a function, each array value has the name of an image and the function should load each of these images as img/foto1, img/foto2, etc. But it is not passing…
-
1
votes1
answer121
viewsQ: Gallery with PHP and Javascript not working correctly
I have a function in JavaScript that mounts an image gallery. It had this whole function in Javascript and it worked perfectly, now I need to insert the PHP so that the user can make changes to the…
-
2
votes1
answer263
viewsA: Problems with Drag and Drop in Pure Javascript
I identified that my problem occurred because the same function that exchanged the images was changing the ids, causing this confusion in some exchanges. I switched the ID in another function and…
-
1
votes1
answer263
viewsQ: Problems with Drag and Drop in Pure Javascript
I’m having problems with my Drag and Drop function in Javascript, the drag and drop is perfect, but when I change some images, they do the wrong change. For example: I have the x,y and z images, and…
-
3
votes1
answer151
viewsQ: How to Drag an Image without jQuery
I would like to make the user be able to drag the image when clicking on it, but without using jquery for that, using pure Javascript. I can pick up the mouse position on the screen, but I’m not…
-
3
votes1
answer212
viewsQ: How to handle query results with PHP OO?
I’m creating a simple, photographic website, and I’m doing all the object-oriented PHP. I know PHP procedural, but I would like to mix PHP with HTML as little as possible. My connection and my query…
-
1
votes2
answers1447
viewsQ: Forward and backward slide Javascript
I have a photo slider on my page, with buttons to go back and forth. I can’t get these buttons to work. At first I imagined that the logic to advance would be the same used for the slide to advance…