0
votes
1answer
14 views

Contact form - make the “from” url not looking like an url in the body of the message to avoid msg to be considered as spam?

I have a contact form at the bottom of each page of my website. Messages are sent thanks to the code below. It works great but the fact that in the body of the message the URL from where the message ...
0
votes
0answers
16 views

How to properly load/move jquery in footer of WP theme?

I'm trying to load jquery in footer of my WP theme (WP 3.8), but non of solution which I try didn't work for me. I have search all over the net, but didn't find correct way to load jquery in the ...
-2
votes
2answers
37 views

Read URL to echo on page?

I am working on a registration form where you fill in four fields which are: Username E-Mail Password Confirm Password And for this domain push, I have used the following for these fields: ...
-1
votes
0answers
17 views

Google map v3 using php

i want to implement Googlemapv3 through php . i am using php curl which return a json file in response in which all latitude and longitude are here. i want plot multiple marker on map from lat long ...
1
vote
1answer
26 views

Maintain a mysql connections between calls to php files

How can I have a mysql connection maintained between calls to external .php files? I lose like, almost 2 seconds everytime to reconnect to the database, which is way too much. Btw, I heard persistent ...
0
votes
0answers
8 views

Passing Google Chart generated images to mpdf

I've been creating createPDF.php file that purpose is generate PDF file from database. Database got DATE field that is used to create one chart by every year and print all charts end of the pdf file. ...
0
votes
0answers
18 views

jquery .ajax function not working properly with Laravel-4

what I am trying to do is to pass a variable from my view to a controller function..The problem is that I am never routed to my controller's function store.So I cant check if I get the variable as ...
-1
votes
0answers
13 views

Best slideshow for dateactiveted pictures [on hold]

I'm looking for the best way to make a slideshow to a information TV (digital signage). I have a homepage where I can upload images and set start date and stop date for each picture I upload. But how ...
0
votes
3answers
33 views

Ajax call to get Data

Dear I want to get Variable Value form PHP Value, and I want to write an ajax call in Java Script, tags, How it is possible, I want to get Value from get_result.php file, and I have following code in ...
0
votes
0answers
23 views

Progress Bar with Ajax/PHP

I have the following javascript which uploads file by AJAX with the following HTML form var formdata = new FormData($('.before-upload')[0]); document.getElementById("btn").style.display = ...
0
votes
2answers
27 views

Submit button not working in Chrome but working in Firefox

Hi the logout button is not working in chrome. It is working fine in Firefox. However if I press F12 and keep the developer console open then the button works. The button also works when I press ...
0
votes
0answers
12 views

setting T-81 POS printer on linux to get it to print receipts on command from php [on hold]

i want to set up a TM series TM-81 POS printer on linux (arch for now but it will be working full time on ubuntu )so that when i want to print a bill for the list of items from browser using php or ...
3
votes
2answers
61 views

JavaScript value not being recieved by PHP

I am having trouble with a program that I have written. The idea is that I click a link and the value of the link is picked up in a JavaScript variable. I then do a GET request to send the value to a ...
-4
votes
3answers
46 views

I Want a php value in input text when i click on it [on hold]

Actually I'm developing tic tac toe game in php. I have a little problem in it. I can't do it alone please help me in it. The basic problem is given below. and also tell me how can I add e-commerce ...
1
vote
2answers
37 views

Loading div region with ajax form submit?

I don't know if I'm approaching this the correct way. I have a main page where I'm displaying some information. You can then click a button and the page will then display a form by loading the form ...
0
votes
2answers
33 views

reading PHP Session ID in console

I am trying to read all the cookie values by the code cookie = document.cookie And when I do alert(cookie) or console.log(cookie) I get the following data phpcsls=4; ...
0
votes
4answers
38 views

how can i change language of onbeforeunload message? [duplicate]

i have a typical web application with multi language ( french , english and Nederland ) and I'm using a page unload trigger to warn the user of unsaved changes while leaving the page/closing the ...
-2
votes
0answers
40 views

validating login form with php and javascript

These gets the username and password inputted by the user and is expected to be sent to the validate.php file to check whether the records is present in the database or not. and receives a response. ...
0
votes
0answers
22 views

How can i get full profile detail and resume from LINKEDIN API [on hold]

I am using LINKEDIN IN API and want to get user full profile detail and his resume too. Also user allows me to access his full profile detail. Can you please let me know then what single parameter ...
-10
votes
0answers
44 views

I need form validation [on hold]

I need form validation for this script. I cant find anything else. Its a login script <div class="container"> <div class="row-fluid"> <div align="center"> ...
-1
votes
3answers
45 views

How with javascript for loops write variable in the php?

I have this code: <?php require_once("conection.php") ?> <html> <head> <title>Title</title> </head> <body> <script ...
-8
votes
1answer
42 views

Ajax code the auto refresh a php file and updates it's vaules [on hold]

First I want admit that I have no knowledge in ajax. I'm building a small application, where I have a load.php file and within it, I have echoed 3 variables, i.e $loadout[0]; $loadout[1]; $loadout[2]; ...
4
votes
4answers
66 views

Series of AJAX calls

Consider the following setting: PageA.html - Does an AJAX call to PageB.html PageB.html - Does multiple ajax calls to multiple pages. At the end of all ajax calls PageA.html shall refresh itself to ...
0
votes
2answers
30 views

Parse website and save a specific DIV using 'PHP Simple HTML DOM Parser'

I am trying to using 'PHP Simple HTML DOM Parser' to parse a website and save a specific 'div' as a 'HTM' file. I have tried some things but I'm unable to save the div. Below is the 'PHP' code I have ...
0
votes
6answers
49 views

How to find the nearest parent element attribute value using Jquery

I am facing a problem on getting the nearest parent element attribute value using Jquery. Can anyone help me on this. My element structure is as below, <ul class="Someclass"> <li><span ...
0
votes
1answer
23 views

google plus generated comment id

I have small piece of parameter which is posting comment from Google plus. below parameter '["xxxxxxxxxxxx","os:xxxxxxxxxxxxxx:1388057844981","xxxxxx ...
0
votes
1answer
29 views

check on return value from jquery fails

I use jquery to validate the form, check the math-captcha and finally, send a mail. The validation works fine and the mail works fine. There is only one problem. When my ajax returns false, the bool ...
-5
votes
0answers
27 views

How do I include php file in page using Javascript [on hold]

How do I include php link in page using Javascript Using only Javascript I had a code but forgotten it
-1
votes
3answers
38 views

how to debug my website? [on hold]

I recently changed some stuff on my website and i have just realised that an ajax script stopped working. I paid someone to code it so i really don't know how to debug it. First here's how it's ...
0
votes
0answers
26 views

how to change image on click of list items in jquery mobile

I am using jquery list for displaying the contents and i want to change the image on user click. This is working for only the first item in the list. I need to store the value depending on that tip ...
1
vote
2answers
48 views

how to send array as function argument from php to javascript

I need to pass an array as a function argument from php to js.i am getting the values from database. while ($rows = pg_fetch_array($qry)) { ?> <option ...
0
votes
0answers
24 views

How to make Twitter Typeahead autosearch with php and mysql with template?

I am try to use twitter's TypeAhead with a php file instead of a json file. With the json file approach the data are fetched from a single json file called repos.json $('.example-twitter-oss ...
1
vote
2answers
51 views

passing array as javascript function argument from php [on hold]

I need to pass an array as a function argument from php to js.I need a way to pass them to the function.Can anyone please help me with this. Thanks a lot..
0
votes
2answers
55 views

Login popup stay on incorrect login

I have created a login popup using jquery and confirming login through php used in the page. When the user inputs the correct credentials, the page is redirected where I want, but when incorrect ...
0
votes
1answer
33 views

submit on checkbox input depending on confirmation dialog

I have multiple rows, where each row is a form with a a checkbox. Im trying to sumbmit the form depending on some data regarding the id of the object mapped in the row. every form looks like this: ...
1
vote
2answers
27 views

Javascript/PHP: upload resized images first, large files later

I'm writing this design application where the user needs to upload images. It would be great if the client-side could upload thumbnails of the images first, allowing the user to get working before ...
1
vote
1answer
13 views

Data obtained on scroll from ajax request is not displayed using knock out js

I have used a code that I got from a site for infinite scrolling using knockout js, with some changes in it. Here's my html and javascript code: <div id="main" data-bind="foreach: items, event: { ...
-4
votes
0answers
53 views

How do i activate a for loop from php using javascript? [duplicate]

My codes are really long and complicated but the basic concept I do not know how to do is this. <?php for ($i = 0; $i < $numOfQuestion; $i++) { echo "Chocolate Rain"; } ?> This ...
-2
votes
0answers
21 views

How to refresh a KendoUI chart with php javascript [on hold]

I want to refresh a line chart /dateaxis when I select another date
-1
votes
0answers
15 views

AngularJS, Apache and URL Rewriting

Recently i started to study AngularJS, Until now my apache server was configured with Options -Indexes But with AngularJS it's a bit annoying, So i decided to use Options +MultiViews, My question is ...
0
votes
1answer
31 views

front-page.php not working properly in wordpress

I am new to web development and not really sure how to fix this issue: I am running into an issue for a site which i am currently running on my own machine in wordpress and added following lines in ...
0
votes
4answers
57 views

Cant include .js file in my php?

I use <a href=Common/php/VideoPlayer.php> to jump to the other php file and in that php I want to include a .js file if I use this <script src="Common/scripts/video.js"></script> ...
0
votes
0answers
24 views

Uncaught ReferenceError: ga is not defined

I got an error while trying to implement google analytics using ganalytics module in prestashop : Uncaught ReferenceError: ga is not defined Can Any one help me with this.plz
0
votes
2answers
45 views

Javascript validation not working if i have more than one row

The problem i'm facing here is javascript validation not working if there is more than one row. Why doesn't it validate the when there is more than one row? Javascript function mstatusvalidate() { ...
-6
votes
0answers
23 views

Need a world wide tide API [on hold]

Is there a world wide tide api available. I need to know the timings for high tide and low tide worldwide. I have had a tough time searching around but no results :( Or is there any alternate way to ...
0
votes
1answer
38 views

Change the contents of select box based on another select box using javascript

How to change the contents of 2nd select box based on value of first select box. no jQuery but only JavaScript enable second select box based on various inputs from 1st select box(div2) only ...
0
votes
1answer
54 views

Ajax just opens PHP file

I have a form I am trying to submit via ajax from PHPAcademy's tutorial found here Basically the form needs to submit via ajax, simple enough. But when I try do that, it just opens the PHP file in ...
0
votes
0answers
16 views

swiping the slides with dynamic data with dots at the bottom in jQuery mobile

Swiping the slides with dynamic data with dots at the bottom in jQuery mobile. please someone help me to find a correct solution to my problem .I have to swipe so that the content along with ...
1
vote
2answers
55 views

PHP Page: Dropdown always selects the first value

I have multiple dropdown lists on my PHP page and all are created like this: <?php //Select values from MySQL Database $query = "SELECT name FROM Player"; $result = mysql_query($query); //Show ...
0
votes
0answers
11 views

Print raw mustache template from server side

I've the mustache template in my server side which also contains a partial. Now, I want to access the template from client side. For this, the only idea I've got is just read the template file and ...

15 30 50 per page