I have a html table with data from mysql database.
To each row in the html table there is an edit button. When i click on the edit button, I...Last post » AdminHi,
Here is a simple and easy example:
» MariusI have a tabs effect on a web page and when the page is refreshed it loses the last active tab and goes back to the first tab.
How to make so after...Last post » AdminHi,
You can add data in...
I have a function sendAjax() which makes an Ajax request (with jQuery). How can I return the response from sendAjax()?
I tried to return the...Last post » MarPloHi,
I usually use a callback function that is passed as argument to the Ajax function.
The callback function is accessed when success, receives the...
I have a Div with some content and other html tags inside.
How can I get all the text content of this Div, without the html tags?
I ussed...Last post » AdminYou can use this:
<div id= d_id >
Some content ...
<p>Other html element.</p>
<span>Text in Another html...
<table...Last post » AdminHi
Then, use JSON.stringify(array) to...
How can I move the window scrollbar vertical position up or down by a specified number of pixels?
I'm using this function to get the scrollbar...Last post » MarPloHi
There are various ways to set tthe scrollbar position. For example, you can use the scrollTo(x, y) function, or scrollTop property for vertical...
I am trying to drag a table row and to drop it in a similar table (of same table structure).
I am trying to implement with jQuery UI draggable....Last post » MarPloHi,
Check the code example from this page: jQuery Drag and Drop Rows between two similar Tables
How to upload a file and display a progress bar, percentages % of the upload progress, without refreshing the page? I think it is something with...Last post » MarPloHi
Try this script. It uses jQuery and form plugin; also, it checks the file type before upload.
To auto submit the file, without to click the...