Posts by Amadeu Antunes • 3,331 points
161 posts
-
3
votes2
answers920
viewsQ: How to do an Xmlhttprequest to send values to the page itself?
What do I have: I created several buttons through PHP and to distinguish them I used the variable $botoes_criados. So I have the variable value $botoes_criados in PHP that is passed to a button as…
-
0
votes1
answer249
viewsQ: Can I write ajax and javascript together?
some problem of writing javascript and ajax together because both are written inside the tags <script></script> ? Is connected with this question For example, inside the tags I can write…
-
14
votes3
answers823
viewsQ: Can I have Javascript write PHP?
I can do the javascript write down php? Related: I can write in Javascript inside PHP? I can write ajax and javascript together?…
-
1
votes1
answer412
viewsA: Slideshow with the bootstrap?
You can test this example but you have to put where the images are the images you want to put, they can simply be background images for your text <!DOCTYPE html> <html lang="en">…
-
10
votes3
answers3580
viewsQ: How to use double and single quotes?
Let’s imagine the following example: $color = "red"; echo ("<button onclick='change_background("/red"/);'>$color</button>"); What should I use when I have 3 levels using the example in…
-
9
votes4
answers31971
viewsQ: Can I write Javascript in PHP?
I can write in php the tag html<script> and inside write the Javascript script </script> using echo? If I do for example echo("<script> var a = 'texto';</script>"); This is…
-
1
votes2
answers112
viewsA: How to pass post variables, save them until the last step and show all values
You can save the information using php in the database or you can save it in cookies Let me show you an example: http://www.w3schools.com/php/php_forms.asp What I would do is, at each step I would…
-
0
votes1
answer66
viewsA: How to keep the buttons of type Submit with the same look as the button type?
I found the solution and solved the problem with the following code: <form action='' method='post'> <div class="btn-group" id="language_selector" role="group" aria-label="..."> <?php…
-
1
votes1
answer66
viewsQ: How to keep the buttons of type Submit with the same look as the button type?
I suppose when I put the buttons on one form they look different. This is what I did: <div class="btn-group" id="language_selector" role="group" aria-label="..."> <?php echo("<form…
-
1
votes1
answer269
viewsQ: Place Portuguese posting date using [processwire]
I am using processwire and to put the post creation date I used the following code <?php echo ( date("F j, Y ", $page->created). "at " . date("g:i A", $page->created)); ?></p>…
-
1
votes1
answer112
viewsQ: Consult information from a website
I require you to consult the website http://world.secondlife.com/resident/24e6998d-7bf2-4d03-b38b-acf8f2a21fc1 and take the value that is in meta name="member_count" content="53" in that case 53 Try…
javascriptasked Amadeu Antunes 3,331