Pagination is a crucial part of any website, especially if you have hundreds of database records that you want to group and display them as pages, and in modern days with the help of Ajax you can create pagination that doesn’t require any page reloading, users can stay in same page and navigate through vast numbers of records on fly. In this particular article we will be creating Ajax pagination using jQuery and PHP that can navigate though your database records without reloading the page.
You may have came across some some horoscope or fun images of your friends, aren’t they just fun? well, why not create some fun page like that on your website to allow your visitors to generate a Facebook ID card, which they can save on their computer or publish on Facebook wall. Let’s focus on creating some authentic looking “Facebook ID” for the users using PHP and PHP Facebook SDK.
If you are looking to add and remove duplicate input fields, here’s another jQuery example below to do the task for you. This jQuery snippet adds duplicate input fields dynamically and stops when it reaches maximum.
If you want to restrict users from entering more than one or two URL, just use the following jQuery snippet. All we need to do is use RegEx expression and using JavaScript match(), we can search for URL or some other words in textarea.