1
vote
2answers
18 views

JS/JQuery/PHP - How to echo errors on form validate failure, and jump to div on success?

I have a fixed-position form that can be scrolled out onto the document and filled out anywhere on the page. If they fail to fill out the form properly, the errors are currently echod out onto the ...
0
votes
0answers
13 views

php & javascript ssh console

I'm looking for a javascript & PHP based ssh console to run within a site. To give you a bit of info about what i'm looking for, just in case my terminology is incorrect or If there are different ...
1
vote
0answers
25 views

Using result of a PHP echo in HTML/JavaScript var for Google Maps

Long time reader, first time poster. Hoping you all can help me out. I'm an absolute novice to PHP and JavaScript but am strong with HTML, and have past experience with Google Maps but this is a bit ...
-1
votes
0answers
23 views

Add To Cart Button Click Script How can I do this?

Hi Everyone first off I'm really new to programming, but I'm a quick learner! I would like to create a javascript in notepad++. What this script can do is Auto Add to Cart for me without having to ...
0
votes
1answer
14 views

Yii - script file registers but never loads in the browser

So I am able to load a boat load of other scripts outside of this particular widget that i'm working on in a yii project. and even in the widget i am able to get an external script to register and ...
-1
votes
0answers
11 views

Post photo in a facebook fan page that the user logged not manage, using Graph API

I need to develop a webapp that the user will take a picture, post in their wall and post this photo in one fan page, but the user don't manage this page, it's like if i was using facebook, access the ...
0
votes
0answers
6 views

Dropzone.js addRemoveLinks not working

Hello I am having a problem using the custom options in Dropzone.js. It is not displaying the remove links even when I set it to true. I am not sure if I am going about this wrong or what exactly is ...
1
vote
1answer
19 views

Sending image data over AJAX from jquery

I need to send image data (data:image/png;base64) from the clientside using AJAX to my PHP server. My AJAX call looks like this:(form_data contains the image) $.ajax({ url: ...
0
votes
1answer
18 views

PHP minimal working example of Web Sockets

I'm trying to determine how to setup a web socket for the first time ever so a working minimal example with static variables (IP address for example instead of getservbyname) will help me understand ...
0
votes
1answer
23 views

Getting data-fields from td:first row

I have a table that gets created using php drawing straight out of a database. Each td is editable and, when the mouse is clicked elsewhere, the new data is sent to the database and updated ...
-1
votes
0answers
32 views

How can I use is_page() in .js file? [on hold]

How to use WordPress conditional functions in jQuery instead of PHP? Is there anybody who can help me for this. Thanks in advance.
-1
votes
2answers
25 views

Cant get select2 to work with form post to another page

I tried to get this to work but am stumped can someone help me figure out what I did wrong ? Debugger says no errors. I cant get other form in to work. I am trying to get the form from my jsfiddle ...
0
votes
1answer
29 views

Javascript/PHP - Passing data to modal(popup)

I currently have a javascript popup div that contains a select object that is populated from a POST variable that was generated from the main page. Is it efficient to pass data with html via post to ...
0
votes
1answer
26 views

how to pre-fill the values of a dynamic HTML table from a text file?

i have the following code in jsfiddle, http://jsfiddle.net/y3x4q/ JavaScript: function buildTable(val) { var myTable =document.getElementById("contentTable"); var j=val; var ...
1
vote
4answers
48 views

jQuery - validate form

I tried this code but it still submit the form even the input has not been validated yet. Here is the code for my form: <a style="cursor: pointer;" id="upload_image">Upload ...

15 30 50 per page