Posts by Henrique • 429 points
24 posts
-
2
votes1
answer903
viewsQ: Sort JS Object array
Speaks Guys, I started studying JS and created a list function that creates the list that checks the user’s gender and creates a list as below. <ul> <li>Diego é homem e possui 23…
javascriptasked Henrique 429 -
3
votes1
answer652
viewsQ: Add a new item to the name array list
When clicking the button, the add() function should be triggered by adding a new item to the name list based on the name filled in the input and rendering the new item on screen together with the…
javascriptasked Henrique 429 -
4
votes3
answers1668
viewsQ: Event onmouseover random colors
Speak Devs, I am with the code js below briefly the idea is that when the user click on the button creates a new element on the screen with the shape of a square, every time the user passes the…
javascriptasked Henrique 429 -
1
votes0
answers867
viewsQ: Nginx does not start
I’m doing some tests with Nginx and I’m trying to error below when I try to start, how do I fix it? systemctl start nginx Job for nginx.service failed because the control process exited with error…
-
1
votes1
answer193
viewsQ: Selected in dynamic select
How do I create an attribute selected only in the current <select> that I have below? As we are in 2018, the <option> selected should be 2018. <select> <?php $ano_atual =…
-
3
votes2
answers376
viewsQ: Background with text background
How do I make this effect of letters on top of the image that is like Background, or how I search for it in google?…
-
1
votes2
answers437
viewsQ: Redirect after login into Wordpress
I have created a new user type with the buyer function in wordpress whenever a new user is registered the even receives two links, one to change the password and the other that directs to a login…
-
1
votes2
answers2337
viewsQ: Take the value of a select and play in php variable
How do I get the selected value from a select and already print it? I have a simple form, when the user selects the value I want to assign to a php variable, because I will show the selected…
-
1
votes2
answers162
viewsQ: Add original width/height to image tags
Is there any way to pass CSS code to HTML tag? Example, I have the tag below: <img src="../img/cS-1.jpg" alt="Smiley face"> any css code I put for this image to appear inside the img tag when…
-
0
votes1
answer147
viewsQ: Hover when selected an option in select
In the current code when I click on the checkbox the Hover is enabled for the letters and for the background I am trying, do this same effect but with select, when choosing a select option on the…
-
1
votes1
answer54
viewsQ: Javascript index
I have a table where I can add lines dynamically, every time I click the button I add a new row to fill the field, my first row comes with index 0 <td><input type="text"…
-
1
votes0
answers33
viewsQ: Access external webservice with cakephp
I’m trying to make requests on external Webservices with Cake’s Httpsocket, in the documentation you have this example $HttpSocket = new HttpSocket(); // string query $results =…
-
2
votes1
answer900
viewsQ: Adaptive border according to text size
What is the correct way to do this is the border below the text? I am currently doing it this way, but if the text is too large and breaks to the bottom line the border does not adapt to the size…
-
2
votes1
answer908
viewsQ: overlay text in background
How do I put half the text on top of the blue background? .event_background { background: #bdecef; } .flexbox_grid { display: flex; } .flexbox_event_image { width: 70.0%; margin: 1%; }…
-
1
votes2
answers1889
viewsQ: Overlay CSS image
I have 2 images, one is a circle and the other is an image with number 360, I need to place this image with number 360 inside the image that is a circle, what is the most correct way to do this? the…
-
2
votes1
answer83
viewsQ: Menu Responsive
Speak guys, how can I hide my menu when I get to 990 resolution? the menu some toggle button appears but when I click on it no menu appears. .header_topo { display: -webkit-box; display:…
-
0
votes2
answers352
viewsQ: Insert text in time line
I made a timeline using HTML and CSS and need to add a story each year when it is clicked on a given year of the line display the story it contains that year, how do I do this? .DB_Timeline {…
-
1
votes1
answer394
views -
0
votes3
answers805
viewsQ: Delete records without updating page
I’m trying to delete records without having to refresh the page, but I’m not succeeding, the records erase but the table only updates if I give an F5, I’m trying to do this via ajax but it’s not…
-
0
votes1
answer399
viewsQ: Layout with 3 CSS columns
Does anyone know where I can find material where I can take a look at how to make this color effect on photos and how to split it into 3 columns with text on the background image?…
-
0
votes1
answer402
viewsQ: Error Inserting the result of a SELECT into tables of different Mysql databases
I’m getting an error when generating a select and then giving an input, I have 2 different banks but on the same server and I’m giving a select in the registered database whose table is record and…
-
1
votes1
answer1033
views -
0
votes1
answer296
viewsQ: Save cakephp associations 3
I am trying to save associated data in Cakephp 3, in the database I have two tables tabela entidades(id, nome_principal) and enderecos(id, entidade_id, cidade) In EntidadesTable i performed the…
-
0
votes1
answer123
viewsQ: Filter in CAKEPHP 2.0
Talk guys, I’m having an error in my ['Filter']['Uf'] search filter and I don’t know how to solve. My controller has the following check: $this->loadModel('User'); $this->loadModel('Conta');…