3,446 Topics
![]() | |
Below is a php code for inserting comment to a post, It works fine now I want to add ajax code to add comments live (without page being refreshed). I prefer ajax code and php code on same page because code will be carrying id's of users so don't want … ![]() | |
I have a small problem when I clone my editable div into my iframe. Each time I click on my code view button it copys the content from my editable div and then displays it in my iframe But each time I do that it copys the same content multiple … | |
If my slected text is wrapped in bold or iltalic or pre tag and then if i click on the revert button it should remove the tags around the selected text. But for some reason will not with my code. Question when I select/highlight some text and then click my … | |
I have a to-do list made in HTML, CSS and JavaScript, and I want to redirect to a website only if they are 0 elements unchecked remaining. I think that the code should contain "numRemaining". I have tried something in JQuery, but it was a total failure. This is my … | |
Hi, I am new to framwork, Now I started to learn Codeigniter. I have installed version of CodeIgniter 2.2.6, from the following link https://codeigniter.com/download I want to do a simple registration form with image upload , storing that image in a seperate folder, image name in to database, and with … | |
Alo All, I am really really tired of searching for a simple file manager for PHP/Code Igniter. I am not looking for advanced one at all: 1. No MYSQL 2. NO user tracking 3. Basic File Operations (copy, move etc) 4. Multi upload (in anyway) I have tried fileman and … | |
I use this code to find time difference, alert(( new Date("1970-1-1 12:42 ") - new Date("1970-1-1 9:42") ) / 1000 / 60 / 60 ); it works in chrome, but in firefox it shows NaN error. How to solve this? | |
$mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "loan"; $connect = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Something went wrong..."); mysql_select_db($mysql_database, $connect) or die("Something went wrong..."); if(isset($_POST['btn_submit'])) { $datess = $_POST['datess']; $control = $_POST['control']; $payee = $_POST['payee']; if(!empty($datess) && !empty($control) && !empty($payee)) { mysql_query("INSERT INTO `sales`(`datess`, `control`, `payee`) VALUES … | |
hello , I running google map api with multiple select of category (checkbox), everything fine working , but I dont know how to link(when u click on marker) form market window to page , if my page loop , any examples or suggestion. | |
1) initially i have a row if the user click save & next button it will say you have 3 fields missing 2) if the user click the addmore button and he did not type any value in the text field then he click the save and next button it … ![]() | |
HI, In a page I load table in while loop with time duration calculation for multiple times. I want to display time difference in their respective rows. Here I included my code. <?php $a = mysql_query("SELECT * FROM user")or die(mysql_error()); $a_count = mysql_num_rows($a); if($a_count > 0) { ?> <table border="1" … ![]() | |
I was trying and trying to get this to work as expected I got this chain drop down menu to work but the problem how can I edit or retrieve data to edit pls if you have time look at my script here on (MS oneDrive) https://onedrive.live.com/redir?resid=B6ED478A72FB6A78!33834&authkey=!AO9oNU_4snXOqH4&ithint=file%2czip the three drop … ![]() | |
Hi, How we can know , a user requested for forgot password? ![]() | |
hello i have an online gallery i used blueimp plugin to get the good features in it like lightbox and touch support ... you can look on it here : [www.aburaga.com](http://aburaga.com/en/gallery) as you see its a big cakes gallery with many categories and pagination ( i built it with codeigniter/php … | |
LightGallery is counting wrong number of images.. here is [jsfiddle code..](http://jsfiddle.net/jetnku0x/3/). In this jsfiddle i am append dynamical element with a div that is in html file.. Please check manually ... Why lightgallery is count wrong images ? | |
I have a page running scrolling nav bootstrap theme which essentially means for me that I have multiple forms on one page. The problem I am having is whenever someone submits any of the 3 forms it sends data from all forms on the page. The code is below, I … | |
I included my mail attachment code in php But it is not working correctly, Please give me a alternate solution which works in online <?php //define the receiver of the email $to = 'demo@gmail.com'; //define the subject of the email $subject = 'Test email with attachment'; //create a boundary string. … | |
problem in getting live data in my web page search_ajax.js $(document).ready(function() { // Icon Click Focus /*$('div.icon').click(function(){ $('input#search').focus(); });*/ // Live Search // On Search Submit and Get Results function search() { var query_value = $('input#search').val(); $('b#search-string').html(query_value); if(query_value !== ''){ $.ajax({ type: "POST", url: "search_ajax.php", data: { query: query_value }, … | |
Website is exclusively built with `.click()`, `onclick=""` and alikes. I'd like to use a plugin that there is out in the world, which would allow me to use custom scrollbar to scroll content of a lengthy `<div>`. I've tested about 6, whom 1 didn't work (maybe I just can't read), … ![]() | |
Hi, It is a new for me. In a site, I have 10 to 15 menus. I want to know a user what are the menus he accessed , how many times he visited a particular menu from he logged in, and from which IP Address. How to know these … | |
What's the difference between event.preventDefault() and return false in jQuery.? | |
In local, mail works perfectly. But in online I got error like: SMTP->ERROR:Password not accepted from server:534-5.7.14 Please log in via your web browser 534-5.7.14 then try again. Learn more at 534-5.7.14 https://support.google.com/mail/answer/78754z190sm15009353oig-25 - gsmtp Message was not sent.mailer Error:SMTP Error:Could not connect to SMTP host. | |
Good day to all, Can anyone please assist a beginner in determining the best way to convert or parse the information generated by a secure GPS device? Am creating a script for tracking GPS based watches and I need to convert the output so it can be read in real … | |
Hy there! I have the following thing that I need to solve: In the Menu I have the Parrent Category Name and inside are 7 categories for food.... If I click on the menu on the parent category name it send me to the home page and open the menu. … | |
I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input field or textarea so that the placeholder text shows up again and I refresh or come back at the page, … | |
Can anyone give me the full sample code to Send email from one requested email to multiple emails in php ![]() | |
Hi guys, need some help on a star rating system i am working on. The issue is that i have multiple star rating on a single page but if i click on a star for another field, it will highlight all the previous unlighted stars too. Not sure how to … | |
I have a username and password for a external website. I want to have a link from my webste to log in to that site without giving username and password to my users. How can I achieve that. I tried lke this but failed. If any one can rectify this … | |
how is this front end combination for a php web application? BackboneJS, RequireJS, Bootstrap, HTML5, jQuery & AngularJS for Front End Will these help me load pages and images load at supersonic? ![]() | |
Currently working on jQuery datepicker and jquery clone with my current code where i can able to add years for all the rows but when i am trying to add the months for example from date - 01/01/2000 to date 12/01/2000 it the message should come as 0 years and … | |
I am trying to create a registration form in Bootstrap and then connecting it to the Oracle Database but the data entered by the user isn't sending any value to the database. Please suggest what editing I should do. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta … | |
I have a column with employee Id and employee name.When i enter the EmployeeID in the textbox, the employee name should be automatically populated from the database in the second textbox. Please Help | |
How to decrypt for hashed password in php | |
My code below has a radio button in the form to select the Sex. But on submitting it's sending as Male=on or Female=on.I want to send only Male/Female to Database. Please tell me the necessary editing I should do. I'm using Bootstrap. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta … ![]() | |
Hello Guys, I have been hopelessly trying to make the sidebar full height on this site. When the content expands, its height stays the same. [Site](http://www.5th-floor.co.uk/blog) Any idea how I can do that? | |
Hi guys, I'm having some problem with cloning a div with a button in and its functionality. 2 words about the functionality first. Basically I'm creating some HTML with javascript (it has to be done that way I'm afraid) and append it at the top of the page. I also … | |
array = [1, 2, 3, 1, 2, 4, 5]; for (var i = 0; i < array.length; i++){ for (var j = 0; j < i; j++){ //if (i != j) { if (array[i] == array[j]) { $('#result').append(array[j]+'Repate<br>'); } //} } $('#result').append(array[i]+'<br>'); } ## given output is 1 2 3 … | |
HI , I am creating a social media site, but getting stumped on updating the status comment boxes. Currently, when a user post a comment to a status it updates in REAL-TIME (ajax) on their page, however, it does not on the clients side. How can I build a comment … | |
OK, I have an HTML page that contains two scrolling divs. The two divs I have are: content-hoo-m content-hoo-s In both divs I have anchored links, for example <a href="#1">Link 1</a> <a href="#2">Link 2</a> <a href="#3">Link 3</a> <a href="#4">Link 4</a> These link to anchors in content-hoo-s. But when you click … | |
Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you … | |
Hi, I have a stupid problem with jquery, On my htmlpage I have a div with id intakegesprekDates and when I try to add an element to it with jquery like this ` $("#intakegesprekDates").append("<div class='row form-group'><label>Datum gesprek</label>"+ "<div class='col-md-2'><input type='text' class='form-control' id='txtIntakeGesprek' name='txtIntakeGesprek'></input></div></div>"); ` My elements are shown in te … | |
Hi, I am new to this concept. I have data in my table in different languages like, English, French, Chineese, Serbian....) I want to display that languages in MPDF, how they are in table,. How to do that in MPDF? Which PDF format is best? FPDF or MPDF or TCPDF … ![]() | |
So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks! ![]() | |
Here, I included my time difference code, but I am getting NaN error. How to do time difference in my code. I need my output like, 03 Hrs : 30 Mins Here is my code: /////Calculate time duration start/////// /*function calculate_Duration() { //var start_time = document.getElementById('start_time').value; //var end_time = document.getElementById('end_time').value; … | |
Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do? | |
OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> <div id=“id1”></div> <h3>Anchor 1</h3> <br> Anchor 1 text here. Anchor 1 text here. Anchor 1 text here. Anchor 1 text … | |
How to make Ajax search filter checkbox using codeigniter? ![]() | |
Hello everyone, Please help me to create a chained select box here i created something , but when i select 1st one its load 2nd one's options from database, but get 1st one unselected <form action="" method="post"> Username: <br><select name="productforuser" id="option" onchange="location = this.options[this.selectedIndex].value;"> <option selected value="no_user_selected">No User Selected</option> <?php … ![]() | |
Hi I am new in php programming and learning this i have found a small problem.I am trying to creating a file called lib.php, where i add all my files jquery lib downloaded in /js and css files.My directory look like this: ** -practise + /css + /js + /images … | |
Am having a issue with ajax form for some reason it dont always work post the correct data am having to click the image 3 or 4 times before it will load the portrait and gallery numbers. can anyone help me out ? ** Form.php** <script> $(document).ready(function() { $('.ajaxform').click(function() { … |
The End.