Search found 89 matches
- Mon Apr 12, 2010 6:11 pm
- Forum: Javascript
- Topic: Is Jquery Ideal For Loading Dynamic Data Across Domains?
- Replies: 0
- Views: 326
Is Jquery Ideal For Loading Dynamic Data Across Domains?
Hey, I want to have dynamic data from mydomain.com accessible to users who wish to display it on their domains. Basically, just like google adsense or google analytics lets you copy/paste javascript into your html pages, I want to do the same for my visitors but when they paste it, they access data ...
- Wed Mar 31, 2010 3:45 pm
- Forum: Javascript
- Topic: Simple Jquery POST Question
- Replies: 3
- Views: 949
Re: Simple Jquery POST Question
Is there a place on planet earth where a person can find out how to do this? I've lost so much money on this project and I just need to be pointed in the right direction. The docs at jquery is the only place? Nobody has done something like this? Just make 2 js files load after a function loads...any...
- Sun Mar 28, 2010 12:27 pm
- Forum: Javascript
- Topic: Simple Jquery POST Question
- Replies: 3
- Views: 949
Re: Simple Jquery POST Question
One solution I am working with is replacing the $post line with this: $.post("vote.php", $("#firstform_25").serialize(), function(data){ //alert("Data Loaded: " + data); } ); It would alert the data and then load the pop up window. Clearly, we cannot have an alert so I ...
- Sun Mar 28, 2010 12:11 pm
- Forum: Javascript
- Topic: Simple Jquery POST Question
- Replies: 3
- Views: 949
Simple Jquery POST Question
Hey, I have a page with 30 survey questions. When the 'submit answer' button is clicked on for each question, 3 things happen: 1.) A vote is sent to the database 2.) process.js is called, which creates a pop up, bar graph and displays the vote results for that question. 3.) They cacn filter results ...
- Fri Jan 15, 2010 12:22 pm
- Forum: Javascript
- Topic: How To Automatically Re-Set Form?
- Replies: 2
- Views: 508
How To Automatically Re-Set Form?
Hey, I have a form with 10 surveys. Each survey has a submit button. One problem with this is that if one submits a survey and then tries another one, the values of both surveys are passed. This can be solved if I can automatically, after my "post submission" functions conclude it can re-s...
- Mon Jan 04, 2010 10:43 am
- Forum: Javascript
- Topic: I'm Miserable. Trying To Pass Jscript Var To PHP Query
- Replies: 6
- Views: 1416
Re: I'm Miserable. Trying To Pass Jscript Var To PHP Query
Ironically, I posted more detail on another board and forgot to do so here with that update. My apologies. Here is the idea: 1.) Multiple surveys on a page each with a unique question_id 2.) I loop through a db for 6 questions and load them on that page. User submits a survey response and the idea i...
- Mon Jan 04, 2010 9:51 am
- Forum: Javascript
- Topic: I'm Miserable. Trying To Pass Jscript Var To PHP Query
- Replies: 6
- Views: 1416
Re: I'm Miserable. Trying To Pass Jscript Var To PHP Query
Friendly bump hoping somebody has experience with situations like this.
I've lost so much time trying to figure it out, it's miserable.
I've lost so much time trying to figure it out, it's miserable.
- Tue Dec 22, 2009 2:54 pm
- Forum: Javascript
- Topic: I'm Miserable. Trying To Pass Jscript Var To PHP Query
- Replies: 6
- Views: 1416
Re: I'm Miserable. Trying To Pass Jscript Var To PHP Query
Forgive me. Since this is a unique situation it's hard for me to articulate it. Here is what I meant (code will follow). Initially, a polling system was built to have one question per page. A Querystring would be read, such as qid=3 (Question ID = 3) and the following PHP code would generate JSON. O...
- Tue Dec 22, 2009 12:40 pm
- Forum: Javascript
- Topic: I'm Miserable. Trying To Pass Jscript Var To PHP Query
- Replies: 6
- Views: 1416
Re: I'm Miserable. Trying To Pass Jscript Var To PHP Query
One thing I want to add. I am considering replacing the PHP function that generates JSON with an ajax/jquery post which will hit an external PHP file that can take a querystring and output JSON I know how to submit to it and I know already that the external php page WILL generate the json I only ref...
- Tue Dec 22, 2009 12:28 pm
- Forum: Javascript
- Topic: I'm Miserable. Trying To Pass Jscript Var To PHP Query
- Replies: 6
- Views: 1416
I'm Miserable. Trying To Pass Jscript Var To PHP Query
Hey, we have a page with 6 surveys and, for now, one block of PHP code that generates JSON. The goal of the JSON is to take the results of that question and display it to the user (We have jquery functions that successfully work with the JSON) The JSON loads fine and the display of the results is wo...
- Thu Nov 05, 2009 3:09 pm
- Forum: Databases
- Topic: Join Queury Q. Can't Include Records With 0 Value
- Replies: 3
- Views: 611
Re: Join Queury Q. Can't Include Records With 0 Value
Is this just one of those things that is due to a poor table design?
I can't find an answer anywhere and I am surprised. I rarely have this much trouble with joining records.
I can't find an answer anywhere and I am surprised. I rarely have this much trouble with joining records.
- Tue Nov 03, 2009 9:44 am
- Forum: Databases
- Topic: Join Queury Q. Can't Include Records With 0 Value
- Replies: 3
- Views: 611
Re: Join Queury Q. Can't Include Records With 0 Value
Doesn't work. It does the same thing; only display choices that were submitted in the poll, it doesn't show the choices not submitted in the poll with a 'null' or '0' value.
I know this was suggested on another forum as well but, to this day, I cannot figure it out.
I know this was suggested on another forum as well but, to this day, I cannot figure it out.
- Mon Nov 02, 2009 10:12 am
- Forum: Javascript
- Topic: How To Add Jquery Value To DB When Function Ends?
- Replies: 1
- Views: 296
Re: How To Add Jquery Value To DB When Function Ends?
One thing to mention. I do have a text field that displays, dynamically, the value <input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold;" / name="test"> I guess my question is how do I use the built in 'stop' function to autosubmit/a...
- Mon Nov 02, 2009 8:06 am
- Forum: Javascript
- Topic: How To Add Jquery Value To DB When Function Ends?
- Replies: 1
- Views: 296
How To Add Jquery Value To DB When Function Ends?
Hey. I am working on figuring out how the Jquery UI Slider works. For reference: http://docs.jquery.com/UI/API/1.7.2/Slider To be more clear, I am trying to learn how to manipulate it so the value, once the slider has stopped, are entered into mysql. Below is the working code of my slider which, for...
- Sun Nov 01, 2009 3:48 pm
- Forum: Databases
- Topic: Join Queury Q. Can't Include Records With 0 Value
- Replies: 3
- Views: 611
Join Queury Q. Can't Include Records With 0 Value
Hey. I have a poll system and, when a user wants to view results, obviously they need to view all options and their % of votes. Well, if I have 3 options (choices) to a question, but only 2 are answered, I still need to be able to display the *un-answered* option and show null or 0 for the # of vote...