3,446 Topics

Member Avatar for
Member Avatar for bobgodwin

I need to sort items from multiple columns. I use this to get the id from the columns and format the data: $.fn.serial = function() { var array = []; var $elem = $(this); $elem.each(function(i) { var id = this.id; $(move_selector, this).each(function(e) { array.push( 'id[]=' + this.id ); }); }); …

Member Avatar for bobgodwin
0
452
Member Avatar for jovstudios

Hello Guys, I dont know how to do these, i have a existing code from the internet and use it and Successful Ok. But i dont kow how to save this to database. can you please help me guys? thanks in advance this is my code <link rel="stylesheet" href="../css/bootstrap-3.1.1.min.css" type="text/css" …

Member Avatar for Taywin
0
1K
Member Avatar for webhawk

All too often I've seen folks bang their heads against a wall trying to figure out why their HTML or CSS code isn't working correctly. I've done it myself at times. When we find the reason, it's usually a silly typo we made somewhere in the code that's the culprit. …

Member Avatar for pritaeas
0
198
Member Avatar for nadiam

Hi. this us what Im doing and its not working: test.php $(rclone).on("click", function(){ var event_id = $("#event").val(); var euser_id = $("#userid").val(); $.ajax({ type: "POST", url: "InputNames.php", data: "event_id="+event_id+"&euser_id="+euser_id, success: function(data){ var form = $("#input-names").html(); $(".form-inputs").html(form); } }); }); InputName.php: <?php $id = $_POST['event_id']; $userid = $_POST['euser_id']; require "connection.php"; $get = …

Member Avatar for nadiam
0
2K
Member Avatar for newbi11

Hi guys I have no idea how to go about this but I would like to create a form that displays results in the text area . For example if a user fills up his/her details on the form and clicks the submit button , his/her information would be displayed …

Member Avatar for diafol
0
179
Member Avatar for ganesh641

Thanks in advance I have used periodic Ajax call for getting a value from the API result in WordPress with Ajax Here is my code Javascript code is : setInterval('getRecentAPI(oid)', 60000); function getRecentAPI(oid){ jQuery.ajax({ type: "POST", url: ajaxurl, data: {id:oid, action:'recent_value'}, success: function(result){ jQuery(".recent div").html(result); } }); } WordPress code …

Member Avatar for pritaeas
0
460
Member Avatar for lui.szeleong

I need to do a calculator and assume I have to click button to insert number to display box. For example click 3 and 2 the inputbox display 32 than i need to click "+" button. The add button is to remove the previous number and store it so that …

0
64
Member Avatar for Kalaivani Nair

Good Day Everyone. I'm using FoundationPress as frontend and Wordpress as backend. I created a very simple plugin to upload image into the homepage. I've no issue with that. I can display them properly in the page I desired. However I wish to use little bit of javascript for the …

Member Avatar for Taywin
0
240
Member Avatar for Ryujin

Suddenly (after no known changes to the page) i see it failing to load in a couple browsers, both of them ones that previously loaded it w/o problems! http://www.kutztown.edu/library/indexoc.asp **Problematic browsers:** || **No problems:** Chrome Canary 41 on a PC || IE 10 on same PC Stock browser on an …

Member Avatar for pritaeas
0
165
Member Avatar for pelusa

I have two input fields, username, and password. I perform a basic check for empty value for each, if either is empty the return is false and so the .$ajax request does not get executed. That works. I would like to ask for help to enhance the check for empty …

Member Avatar for diafol
0
290
Member Avatar for olawole.famakin

Hello i am trying to echo a listview using php, i have made an ajax request to display the list view in my html page using div. but the list view never comes out properly, which leaves me with only one thing, that the css and javascript for this listview …

0
104
Member Avatar for DaniWebUser_1

I'm learning vanilla JS at the moment. One of the things I'm learning how to do is make simple animations. I've made an animation where I moved a square div in a square path. I've made another where I moved a circular div diagonally downward. I've even learned how to …

Member Avatar for DaniWebUser_1
0
271
Member Avatar for marifard

Hi I have three pages to upload an image or another type of work for particular client. One of these pages are to show the uploaded files if i uploaded before and it called clientwork.php, the second page is called nework.php, this is a form page to choose the new …

Member Avatar for marifard
0
294
Member Avatar for mc3330418

I'm trying to update an input value using jquery and I can't get it to do anything. I've tried .val(), .attr, .html, .text. $('#acctnum').click(function(){ var index = this.selectedIndex; var bal1 = $('#bal1').val(); var bal2 = $('#bal2').val(); var bal3 = $('#bal3').val(); var bal4 = $('#bal4').val(); if (index == 0){ $('#poamnt').val(bal1); alert …

Member Avatar for cool_zephyr
0
165
Member Avatar for rb.dhoriya

hello... i'm creating a web application in asp.net in which i would like to give user a one "JavaScript" code, through which the user can get content from my website to his/her own website. i've used one generic handler to process user request in my website. i've tried using jQuery.. …

Member Avatar for rb.dhoriya
0
3K
Member Avatar for nevek

Hi, I am trying to load u sub-page wich has 2 datepickers but i can't get them to work. This is the code on my main page <script> $(function(){ $("#datepicker").datepicker(); }); //function is called onchange in a list function loadTherapie(){ var therapieID = document.getElementById("lijstTherapieen").value; $("#divTherapie").load("wijzigtherapiesubpage.php?therapieID="+therapieID+"&cacheOntloper="+randomNumber()+"&type=2", function(response){ $(response).find("#datepicker").datepicker(); }); } </script> …

Member Avatar for nevek
0
325
Member Avatar for OsaMasw

I have problem in my site and accrues only when using htaccess, I have many css and js files stored in my site when import them on localhost by using relative path <script src="js/jquery.min.js"></script> when using htaccess the js or css cannot be loaded and firefox show me message "**The …

Member Avatar for OsaMasw
0
258
Member Avatar for daniel36
Member Avatar for gogs85
0
452
Member Avatar for davy_yg

Hello, I am trying to create a login box that processs the form to another file after login: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"></div> <input type="submit" class="login" name="submit" value=""></input></div> <div style="margin: -235px 0 0 850px;"><a href="create_account.php">Create an Account</a><br><a href="forget_password.php">Forgot Password</a></div> <div style="margin: 20px 0 …

Member Avatar for diafol
0
216
Member Avatar for softwaredeven

hello guys ... i have a problem regarding on this error 1. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 104 2. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 120 3.Notice: Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 163 4.Notice: Undefined index: …

Member Avatar for almostbob
0
629
Member Avatar for Azii

Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for Taywin
0
248
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
163
Member Avatar for steven.gray.10236

I hope someone can help me. I have been working on this for several days and can not figure it out. I made a blog and I am trying to get SEO friendly URLs. I have tried the mod-rewrite and it seems to have no effect. is there something else …

Member Avatar for edbr
0
533
Member Avatar for Jonathan_9

I just need help regarding my problem in editing an imploded input text from the database: I have a dynamic input text which means that you can add more input field if you click the add more button. My problem is that when tried to edit those text fields the …

Member Avatar for hericles
0
1K
Member Avatar for thilipdilip

Go Back to Previous Spot on PageI'm using list of page in one page sometimes I have a longer list of items. When the user scrolls down the page and clicks on the item, they go to a detailed view for that item. If they hit the back button on …

Member Avatar for gentlemedia
0
241
Member Avatar for jonsan32

I'm trying to use the script below to generate an agenda on my site to promote upcoming events. I purchased a script from [code canyon](http://codecanyon.net/item/google-ical-xml-event-list-calendar-for-php/full_screen_preview/2560605), but can't even get beyond the start of adding it to my site. Any direction would be great. Thanks. Here's the code: <!DOCTYPE html> <html> …

0
91
Member Avatar for janicemurby

hya can someone take a look at this coding its for view profile and it has a on/offline on it when i log in it shows offline and nothing echos through see pic ![c6bd41d477df56cf7543dd36a623ada0](/attachments/large/4/c6bd41d477df56cf7543dd36a623ada0.png "c6bd41d477df56cf7543dd36a623ada0") <?php include("config/db_connect.php"); $profid = $_GET['profid']; // code for user details $query = mysql_query("select * from …

Member Avatar for diafol
0
286
Member Avatar for davy_yg

Hello, after migrating from localhost to the server my ckeditor also disabled. I wonder why? At first, I thought maybe because of file path, but my file path appears just fine: input_berita_static.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- …

Member Avatar for diafol
0
296
Member Avatar for Paul_29

pls i need help from my friends out there.. i am gettin aform validation error in my contact page when i first try to load it using a webserver like xampp or wampp, else if i jus run with my web browser there is no such error .. here is …

Member Avatar for mattster
0
220
Member Avatar for ernesto22

hi. i'm seeking help with checkboxes.i have built a ordering system. i have two tables "food" and "refreshments" both consists of columns "name,price" . what i want to do is . if i click on my submit button , all the checked checkboxes should be added up and have a …

Member Avatar for broj1
0
117
Member Avatar for nufftalon

I am not sure what I am doing wrong but can't seem to recieve test email for this php form the form is at the bottom of this code snippet <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MIAPP</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <!-- FAVICON --> <link rel="shortcut …

Member Avatar for nufftalon
0
327
Member Avatar for dwlamb

I have some experience when it comes to CodeIgniter. I am trying to figure out a method for determining the window size of a browser and assign it POST or $this or the user session (also part of $this). I need the variable to persist for the session. In my …

Member Avatar for veedeoo
0
652
Member Avatar for kirthigamerlin

I want to draw circular gauge using canvas. I written code by referring net. but its not in proper direction after giving points to the scale. I posted my code below: <!DOCTYPE html> <html> <head> <title>jQuery Knob demo</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]--> <script src="http://anthonyterrien.com/js/jquery.knob.js"></script> <script> $(document).ready(function() { var …

0
310
Member Avatar for RonKevinT.Manuela

So Im using jqueryui datepicker..already set the dateformat to mysql format but sadly it still won't insert into my EventDate field..EventDate has a Date datatype.. <script> $(function() { $( "#datepicker" ).datepicker({ dateformat: "yyyy-mm-dd", changeMonth: true, changeYear: true }); }); </script> Maybe there's something wrong with my submit? <form role="form" action='' …

0
117
Member Avatar for SpecialistPanther

Javascript: <script> /** * jQuery document ready function (when the DOM is loaded) * From here we can use $ to reference the jQuery object */ jQuery(document).ready(function($) { /** * Finds all elements that have _BOTH_ the .audio and .controls classes * then attaches a click handler to the .playpausebtn …

Member Avatar for SpecialistPanther
0
2K
Member Avatar for myfit

My ability of English is not good, now I have a problem is I want to make a menu collapse jQuery or coolapse bootstrap that have a multiple rank or multiple level (>2 or >3 level) sush as a picture below but I don't know how to do it, so …

Member Avatar for myfit
0
172
Member Avatar for davy_yg

Hello, I am trying to troubleshoot this problem using codeigniter. I am following a tutorial and getting this error after installing the ready-to-use-uncomplete-ci-script. Therefore, I still have to edit things out to make it work, which not all of them is being taught in the tutorial. ---------------------------- // all of …

Member Avatar for davy_yg
0
356
Member Avatar for nadiam

hi. i have a page that submits data without refreshing and it does work. but i m having trouble with arrays. as it is im submitting the form data using `$.post` . if i was working with just php id just do a for loop which i actually already have …

Member Avatar for AleMonteiro
0
344
Member Avatar for OsaMasw

hey guys , I'd like to add a fancy navigation menu for users like this example http://tympanus.net/Development/SelectInspiration/index8.html but this is a select input not a link, I need a tutorial to achive something like that using jquery and css, so I put a link image when press on it a …

Member Avatar for OsaMasw
0
250
Member Avatar for gcardonav

I have a step in my code where the application will check on the word entered by the user and compare it to the a word. My issue is that my original code was javascript and now I am not certain how to set it up for AngularJS. I had …

Member Avatar for gcardonav
0
324
Member Avatar for RonKevinT.Manuela

I am able to delete the file from the database but not the file found on a folder associated with it...is there somethign wrong? <?php include("../includes/mysqliconnect.php"); include("../includes/config.php"); if(isset($_GET['delpost'])){ $delpho = $mysqli->query("SELECT * FROM photos where imageID=$imageID"); $run=mysqli_fetch_array($delpho); $imageName=$run['imageName']; $dir = '/uploads'; unlink($dir.'/'.$imageName); $stmt = $db->prepare('DELETE FROM photos WHERE imageID = …

Member Avatar for mark.suner
0
354
Member Avatar for Online_1

Hi, I have developed website [www.onlinedelivery.in](http://www.onlinedelivery.in/) in ASP.Net with AJAX. But when I am trying to use Jquery on the same page where update panel use. Its not working. Please suggest Regards

Member Avatar for AleMonteiro
0
46
Member Avatar for razar63

I now have a simple "shopping cart" script that I have converted to an "add to shortlist" script to better suit my website. Everything wokrs great however after you click the add to shortlist link it goes to the shortlist page. Here is the code for "add to shortlist" <a …

Member Avatar for razar63
0
4K
Member Avatar for patk570

Hello, I am looking for a script to add items to a database that can be found in the my account section, The table in the database is structured: id | user_id | slug I want to use the ajax to update and remove it later on down the road …

Member Avatar for matrixdevuk
0
3K
Member Avatar for shayan_doust

Hello everyone. I have just bought a new computer and I am currently working on creating an online cloud storage service. Every thing is going fine until I am struck with a problem. At first, registering a new user works and the data is inserted into database but after testing …

Member Avatar for matrixdevuk
0
2K
Member Avatar for fheppell

I've got a form, that sometimes needs to have a button allowing people to authorize with stripe. To save their data I'm submitting the form to a php file, that compiles the auth URL and saves their data. This javascript function is run when the button is clicked: function stripeAuth(){ …

Member Avatar for Robert_17
0
239
Member Avatar for come_again

Hello, So i am trying to get a log in page to work but have run into this error: Warning: Cannot modify header information - headers already sent by (output started at .../views/header.php:15) in .../classes/login.php on line 77 I searched online and found others had this problem although I can't …

Member Avatar for come_again
0
145
Member Avatar for joshua_8

$("#form1").submit(function(e){ e.preventDefault(); }); $("#submit").click(function(e){ dataString = $("#form1").serialize(); var new = $("input#new").val(); dataString = "new=" + new; $.ajax({ type: "POST", url: "Servlet", data: dataString, dataType: "json", success: function( data, textStatus, jqXHR) { //our country code was correct so we have some information to display if(data.success){ $("#ajaxResponse").html(""); $("#ajaxResponse").append("<b>Country Code:</b> " + data.countryInfo.code …

Member Avatar for wherrelz
0
280
Member Avatar for nadiam

Hi. so i have a div/form like this: ![957d3e17b3579941c6bf92e594745d43](/attachments/large/4/957d3e17b3579941c6bf92e594745d43.jpg "957d3e17b3579941c6bf92e594745d43") depending on the drop down value chosen that number of forms will appear like if value 2 chosen then 2 forms will appear if 4 then 4. the code is this: $("select[name=children]").on("change", function(){ var num_forms = $(this).val(); var form = …

Member Avatar for mangel.murti
0
272
Member Avatar for liphoso

Please assist, I am trying to get get one page out of three to load a google map once its loaded. the code i have is below. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="600"/> <title>Pollutions App</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <style type="text/css"> html { height: 100% } …

0
100

The End.