how to change languages on onclick in php? [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have input type button and having onclick() functionality,when I click once it shows "en" inside the button and I click again need to show "ml" inside the button

Use the jquery .html() fucntion to change the content

Related

How can I show this div content from my function [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
<button name="saveV" class="btn highbutton" type="button"
onclick="if(<?php echo $test?>()) {homepage.test2()}">
When I click this button my data is saved in db. All I want to do is to display the contents of a div once data is stored. Please Help
You could call jQuery's toggle() function after saving your data:
$("#mydiv").toggle()

Can I make a carousel with php and mysql? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Do you think it is impossible? I want go get pictures from mysql database and make a carousel looking like this. >> http://blog.tmimgcdn.com/wp-content/uploads/demos/coding-a-responsive-horizontal-posts-slider-using-css3-and-jquery/index.html
But I want to use only html, css, php and mysql.
Ofcourse possible...PHP codes will bear the load of javascript functionalities.

Is there a way to have my webpage automatically load a preselected page once a certain php function is complete [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Essentially the title, please keep it simple, im not accustom with code.
You can use header('Location:yourpage.php') at the end of your function.
Header

How to make stream data PHP+Jquery [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
i'm trying to create a data Streaming like Facebook,
when scroll down a New data uploaded! using PHP and jquery
If you mean loading more content? That's called 'infinite scrolling'
one of many jQuery plugins: http://jscroll.com

Deleting entry from databse by deselcting checkbox in php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have list of checkboxes on web page. What I want is , after deselcting checkbox particular record from database should get deleted accordingly in php.
You'll need to use some javascript to "listen" for the uncheck action on each checkbox. You can then use AJAX to delete the record from the database on the fly, and use jQuery make the record disappear visually from the webpage, all without reloading.

Categories