-1
votes
1answer
22 views

Use the value of the last mysql row in ajax call

I have a page where users can add and delete records from database without reloading page in ajax. When page loaded it displays rows from query, and you can delete each row by clicking "x" that will ...
0
votes
0answers
8 views

Laravel 4 and Cashier

I am trying to use Laravel Cashier with Javascript so credit card data is not posed to the server. When I do this, I always get an error that says "This customer has no attached card". I have done ...
0
votes
3answers
39 views

How to use AJAX in multiple drop down in php?

I know this is a stupid question but i am new with AJAX and i tried many of the code i got from internet but still not able to do this simple thing so at last i am posting my question here something ...
-2
votes
1answer
28 views

is it possible to add these up as a grand total using this code?

Is it possible to calculate a grand total with this code. I want compcase and caselight to give a grand total after the buttons are pressed. Any help would be appreciated as I can't work out a ...
0
votes
1answer
24 views

PHP request through AJAX fails

This is probably something very simple, and I've seen that there are/have been more people with the same issue. But the solutions provided there did not seem to work. So, I want to execute a .php ...
0
votes
0answers
42 views

jQuery AJAX call works on localhost not on live server

I have a problem which I can't solve at the moment. I have a WordPress AJAX login on my website from this example: http://natko.com/wordpress-ajax-login-without-a-plugin-the-right-way On my ...
-2
votes
0answers
16 views

php google map api in google map path on make custom symbols or images

here i have problem in creating in map 50 meter distance create arrow symbol for path to show source to destination in this path was created but on created path i show on per 50 meter distance ...
0
votes
0answers
14 views

Securing server side pages by disabling their access to the general public while still accessing them internally

I'm working on a website project and I need to secure its server side pages, such that a page should not be available hen a user enters it in an address bar, for eg. a php script that validates a ...
0
votes
0answers
10 views

determine final destination/url returned by a asp(?) by script

So, I'm sure this will get down voted and I'll be banned from the site because I'm a total newb that asks elementary questions/wrong questions/vague questions that irritate the community. But...I'm ...
3
votes
0answers
27 views

Yii load dynamically added (with ajax) GridView TypeError: settings is undefined

I use ajax and load content dynamically GridView. It worked, but not loaded gridview js (jquery.yiigridview.js) and yiiGridView($options);" AND when I use $.fn.yiiGridView produces an error. if i ...
1
vote
1answer
15 views

Pyton POST request same JS/PHP

I'm not good in js/php, but i need to convert code below to Python. Javascript version: function api_query(key,keyId,url,post,body,signature,cb){var method='POST'; var date=new Date(); var ...
-1
votes
1answer
29 views

how to store javascript value in php variable [duplicate]

I have this code. It's working fine for first var but its showing undefined variable for second. How I suppose to solve this? Here is my code: <script> var p1 = "success"; var time = ...
1
vote
0answers
11 views

How To Get Detailed Address Of A Place Using GooglePlaces Autocomplete API?

I want to search a place using Google Auto-complete API on my webpage, I have implemented google autocomplete API But I can not get the detailed Address for a place. Its just giving the title/name of ...
0
votes
1answer
28 views

Unable to call php function [duplicate]

I have 2 php files, home.php and db_get.php. home.php includes db_get.php. There is a function in db.php which I am calling in home.php, which returns an array. This array is then converted into json ...
-2
votes
0answers
40 views

Need suggession for code improvement / professionalism [on hold]

I have written a jquery code for ajax form submission. Here it is jQuery(function() { jQuery('#message').click(function() { var btn = jQuery(this) var Name = ...
0
votes
0answers
22 views

How to use a cookie value immediately after setting it

The first run leads to error in fwrite($file, $_COOKIE["bookTitle" . $i] . "\n"); Notice: Undefined index <?php if(isset($_GET['submit'])) { $startNo = ...
0
votes
5answers
40 views

how to display the which was inserted recently in to table

I have a table in MySQL test_info . This table gets an insert command at random times such that a new record is added. This insert can be fired from anywhere. Actually what have to do is? front end ...
-2
votes
0answers
29 views

Pause PHP execution untill the value of a element is set [duplicate]

We set setTimeout for a function(getValue) in Javascript. It is setting the value(by using document.getElementById('value').innerHTML) to a td element(td id='value') in the php page. I want to add the ...
-4
votes
1answer
22 views

how to pass parameters from javascript to inline php [duplicate]

I am working on asp.net project. I am trying to send mail using php script (as godaddy is not allowing me to use c# sendmail()). I have to pass subject and body parameters to the mail. I am able to ...
1
vote
0answers
25 views

Software to edit uploaded Videos on the Website

i'm frustrated! We're programming a website, on which the user can upload Videos via an iOS/Android Application. The Video transfer works, and the Videos are saved on our server. We transmitt them ...
0
votes
0answers
13 views

Twitter login and image post

I need to provide user on my website to post image on twitter. If user is not logged in, I need to provide him login and need to authorize him to use my app. I tried using codebird.js, but couldn't ...
0
votes
0answers
8 views

Create new signaling server

I am come up with one more query, I am using IceLink2 for video conference I trying to change signaling server. I have replaced signaling server URL with "stun:stun.l.google.com:19302". It is not ...
1
vote
4answers
38 views

Jquery replace multiple string in element, not replace element

Hello good friends :) I have a question about jquery. Is there a function in jquery to replace the many words that have been mapped within an object or array. Example in php: <?php ...
0
votes
3answers
56 views

How to display error messages Jquery ajax?

I am a student and am using jquery and php to add records to database. Records are being added, but i want to display a message "Record inserted" in the if the the record has been successfully been ...
2
votes
0answers
40 views

AJAX function returns incorrect response from server. var_dump always shows wrong HTML output & returns null

This is the div tag inside which the google map is shown. <div id="googleMap" style="width:900px;height:500px;"></div> Show url: <span id="showurl"></span><br/> ...
-5
votes
0answers
32 views

why tables arern't responsive on chrom and IE in host but it's work on local well? [on hold]

I make table responsive with css, it works well on local with chrome but why responsive table dosn't work on chrome in host and in IE dosn't work in host nor local??
-1
votes
3answers
42 views

How to pass variable in javascript to php using ajax [on hold]

Why is that the $id in PHP not printed? I already separated the server and client side codes and it's still not working... please help ... tnx //JavaScript function print(str) { var userID = ...
-1
votes
2answers
34 views

How can i convert Rupee into words using script in PHP? [on hold]

I am developing Register form. I have to 2 textboxs field e.g Amount and Amount in words. I want that when user enter the amount in digits, the word textbox will be filled automatically depend on ...
-3
votes
1answer
30 views

How to reset the form and refresh the datatable with a single button click?

I have a button with id="reset", So when the button is clicked I want to do two things: The form has to be reset. Refresh the datatable. $("#reset").click(function() { $("myform").reset(); ...
0
votes
0answers
55 views

AJAX and MYSQL, AJAX too fast for mysql to query?

I am working on a php/mysql application, I am trying to collect javascript errors to the database using window.onerror, where inside that function I make an ajax request to a php script that will log ...
0
votes
1answer
19 views

styled input (type=file) submitting upon click with jquery .change event for reading selected files

I have been debugging this for quite some time already, but to no avail. Works perfectly fine on Google chrome but not on other browsers. On other browsers, upon click on the "Add Attachment" ...
1
vote
0answers
46 views

Syntax error in php response

I have a PHP proxy which calls a HTTPS web service. The response of PHP proxy is sent back to the JavaScript . I see a proper response(XML) in my browser . However in the JavaScript I do not get any ...
1
vote
4answers
49 views

on Click event for checkbox in Javascript

I have a table with following format : <tbody id="ggwp"> <tr class="r123 disable-it"> <td> <input type="checkbox" name="item" class="row" ...
0
votes
7answers
44 views

loop through a json object in ajax response

I am new to json so i am getting a json reponse from my ajax call now i am stuck with looping the json object here is my json { "0": { "image": "http://test.com/systems.jpg", ...
0
votes
3answers
41 views

How to get the checked checkboxes values with ID in javascript

I'm currently trying to get the values of checked checkboxes. These checkboxes have unique IDs because they are defined on a modal box. <input type = 'checkbox' id = 'audience_Name-$row[asset_ID]' ...
-5
votes
0answers
18 views

Getting data from a forum? (i.e Username, Post Count and Signature) [on hold]

How can I read a user profile from a forum? For example I would like to read the username, post count and signature from a profile in Bitcointalk.org. What would I need to pull that info from the ...
-2
votes
1answer
20 views

Importing Live Quotes from a Website

I am working on a small project that requires the market price of silver. Such a price can be found at www.kitcosilver.com. I'm sure there are other websites that offer the quote as well. Anyway, I ...
0
votes
3answers
40 views

How do I use data returned from PHP to build out an HTML table?

I have a php file that is reaching out and touching a mongo db and building a bunch of table tags. When I replace the script tag code below with the php code it works fine and builds out the table. ...
1
vote
1answer
41 views

Blank(red point) before print values

I'm using codeigniter, my program is fine in localhost but get mistakes online. It's hard to describe but everything like pictures tell: Even worse, if I write code in js like this: var ...
-3
votes
1answer
29 views

Value of a number going up [on hold]

Right, i honestly have no idea what to even search to find this out! i have searched many phrases trying to find out and i keep coming back with nothing. I have a client who has asked if it is ...
1
vote
2answers
47 views

jQuery - Load info from database, into different variables?

Basically I can do so it prints out for example one field from the table, but I want to have all of them to different tables or whatever, how would I achieve this? I got this as my save/load code: // ...
0
votes
2answers
22 views

Prevent form reset on submit with jQuery Mobile

I'm trying to accomplish when submitting a form it does not refresh and reset all the values. I am trying to get it to keep the fields, so we don't have to type the info all back in for multiple ...
0
votes
1answer
32 views

php get value of unchecked checkboxes

I require the values of unchecked checkboxes to be '0' so I can determine which values have been checked and for all values (checked + unchecked) to be posted ($_POST['chk]). I am using a for loop to ...
0
votes
1answer
29 views

make button disapear when clicked even when visited next time

I have a problem i am making a website with a button on it. The problem is that i only want this pressed once by the user who visits the site. So when ever the user refreshes or comes back it isn't ...
0
votes
2answers
25 views

Getting value of a disabled textbox in PHP

I am getting two numbers from users and then displaying their sum in a disabled textbox. I am also storing the inputs in my db. Everything works fine. I can pass number1 and number2 to my database ...
1
vote
1answer
20 views

wordpress/php: create an upvote button that does not refresh page

Beginning developer here, making a website using wordpress as a platform. I would like the user to be able to click an upvote button and upvote a post without refreshing the page. I figure I should ...
0
votes
0answers
5 views

Justified-Gallery with Swipebox for Wordpress

at the moment I'm trying to upgrade my custom template for wordpress with a new gallery. I want to use the Justified-Gallery with the swipebox extension. I already included the necessary .js and .css ...
0
votes
2answers
26 views

Passing Screen Width to Controller in Silverstripe

I've working on a Silverstripe project where I want different sized images to load dependent on the width of the screen. For example the template code could look like this: <img ...
0
votes
1answer
31 views

Best way to store large images [on hold]

Not sure if it's the right place to ask, but I am trying to create panoramas viewer,files can be anywhere up to 50mb. After upload panoramas would be displayed with some kind of javascript viewer. My ...
0
votes
0answers
15 views

How is changing a js file to php using AddHandler x-httpd-php5 .js make a web app insecure?

I want to execute some php code inside a javascript file in codeigniter using .htaccess <Directory /path/> <Files file.js> AddHandler x-httpd-php5 .js </Files> and in my ...