Update. I found a solution.
I turn the url into a variable and create a var that comes from the jquery serialize function.
I append that variable to the url variable and load that through the json function.
(slaps head).
Ty for your time.
Search found 89 matches
- Sat Oct 24, 2009 4:19 pm
- Forum: Javascript
- Topic: Trying To Pass Form Values To Load Json Request
- Replies: 1
- Views: 286
- Fri Oct 23, 2009 11:39 am
- Forum: Javascript
- Topic: Trying To Pass Form Values To Load Json Request
- Replies: 1
- Views: 286
Trying To Pass Form Values To Load Json Request
EDIT: Hey, Below is a function that takes a click of a button from a form and is supposed to load up the values and append them to a PHP page where I can use the values to load JSON data. I have a variable to serialize the data var formData = $('form').serialize(); The problem is, I need to append ...
- Wed Oct 21, 2009 4:27 pm
- Forum: Javascript
- Topic: Jquery --> Hoping To Add If Statement To While Loop
- Replies: 8
- Views: 968
Re: Jquery --> Hoping To Add If Statement To While Loop
Interesting. I will test this out and update you. I really appreciate the input. It's just
hard to find real world examples *like this* via google with jquery
so this will be a tremendous asset in helping me grasp this.
Thanks again.
hard to find real world examples *like this* via google with jquery
so this will be a tremendous asset in helping me grasp this.
Thanks again.
- Wed Oct 21, 2009 1:45 pm
- Forum: Javascript
- Topic: Jquery --> Hoping To Add If Statement To While Loop
- Replies: 8
- Views: 968
Re: Jquery --> Hoping To Add If Statement To While Loop
First of all, thank you for doing all of this.
Second, do you think that this means that there is no real solution from the code listed? That it's not possible
to have 10 hover classes activated for 1 image per class?
Thanks
Second, do you think that this means that there is no real solution from the code listed? That it's not possible
to have 10 hover classes activated for 1 image per class?
Thanks
- Tue Oct 20, 2009 11:25 am
- Forum: Javascript
- Topic: Jquery --> Hoping To Add If Statement To While Loop
- Replies: 8
- Views: 968
Re: Jquery --> Hoping To Add If Statement To While Loop
If I may ask, does javascript frown on my kind of logic? Should I be looking to use another method to achieve
the same end result? I am willing to research anything, it's just that I am more of a web programmer than a client side.
the same end result? I am willing to research anything, it's just that I am more of a web programmer than a client side.
- Fri Oct 16, 2009 2:01 pm
- Forum: Javascript
- Topic: Jquery --> Hoping To Add If Statement To While Loop
- Replies: 8
- Views: 968
Jquery --> Hoping To Add If Statement To While Loop
Hey, I am a jquery noob but I am slowly getting it. The thing is, I have this free piece of code I am reverse engineering that is the guts of a multi-star rating system. The part that determines which CSS class to use (hover) depending on the rating (I go from -5 to 5) is all located in this while s...
- Wed Sep 30, 2009 1:51 pm
- Forum: PHP - Theory and Design
- Topic: Debating Method To Track Member Fees - Over Thinking It
- Replies: 3
- Views: 1197
Re: Debating Method To Track Member Fees - Over Thinking It
If payments are not restricted 1:1, is having the separate table of fees a good idea then? This way there is a way for me to calculate $0 due if they pay once, twice/etc and wipe out their fees while still allowing others the option to pay once per month. I can also update the monthly fees due by se...
- Wed Sep 30, 2009 1:06 pm
- Forum: Javascript
- Topic: Jquery PostBody Won't Submit Var With "&" Included
- Replies: 2
- Views: 734
Re: Jquery PostBody Won't Submit Var With "&" Included
Thank you. I wasn't sure how to use the function to clean up the var. THe demos I saw weren't using Postbody and, since Jquery is new (and Ajax)
I was sure I'd muck it up.
Much appreciated.
I was sure I'd muck it up.
Much appreciated.
- Wed Sep 30, 2009 12:57 pm
- Forum: PHP - Theory and Design
- Topic: Debating Method To Track Member Fees - Over Thinking It
- Replies: 3
- Views: 1197
Debating Method To Track Member Fees - Over Thinking It
Hey, Members of a website I am developing use it to sell their product via paypal. It tracks the sales, handles the transaction/etc. After each sale, a fee is assessed based on the product price When they log into their admin panel, they view their profits, fees due, etc. I currently track fee total...
- Tue Sep 29, 2009 3:29 pm
- Forum: Javascript
- Topic: Jquery PostBody Won't Submit Var With "&" Included
- Replies: 2
- Views: 734
Jquery PostBody Won't Submit Var With "&" Included
What is the best way to remedy this? The exact code that I use to post to a PHP/Mysql script, in the background, is below. It works perfectly so long as ''&' is not included in the form submission. Should I just declare this var as a qstring and then sanitize it? I am new to this so forgive me i...
- Sun Sep 27, 2009 7:58 am
- Forum: Javascript
- Topic: Jquery>>Trying To Pass My PHP Vars To Jquery Function
- Replies: 0
- Views: 405
Jquery>>Trying To Pass My PHP Vars To Jquery Function
Hey, In an attempt to learn Jquery and create my own dynamic poll (Where the css bars animate) I want to take the js code from this free flatfile poll script and replace the following vars: [OPT_TITLE] and [id] (listed in bold in the last function) and replace them with PHP variables that I will get...
- Wed Sep 16, 2009 1:20 pm
- Forum: Regex
- Topic: Mod ReWrite Issue. Trailing Slash Causing Issues
- Replies: 3
- Views: 1864
Re: Mod ReWrite Issue. Trailing Slash Causing Issues
Thank you, both. Your solution has worked perfectly. Regex is one thing I just struggle with
but I am going to make sure I sit down, first chance, and really bone up on it.
Have a great day to both of you.
but I am going to make sure I sit down, first chance, and really bone up on it.
Have a great day to both of you.
- Tue Sep 15, 2009 1:09 pm
- Forum: Regex
- Topic: Mod ReWrite Issue. Trailing Slash Causing Issues
- Replies: 3
- Views: 1864
Mod ReWrite Issue. Trailing Slash Causing Issues
Hey, I needed to take a dynamic url, such as visit.php?user=jimmy&prod_id=5 and turn it into: http://www.domain.com/jimmy/5 This allows sales merchants to promote a product that we can track referrals for without a clunky url with querystrings/etc. Well, I was able to do that. The only problem, ...
- Mon Sep 14, 2009 12:35 pm
- Forum: PHP - Theory and Design
- Topic: Debating Using Sessions To Save DB Load...Thoughts?
- Replies: 4
- Views: 1053
Debating Using Sessions To Save DB Load...Thoughts?
Hey, I am building a website that will likely host 10,000+ users with screen names who will be logged in and use the site often. One key function is using Geo IP where I can pull their city/state and that data comes in handy every time they answer a poll question or view results. Long story short, I...
- Mon Aug 03, 2009 9:08 pm
- Forum: Databases
- Topic: Cannot Create The Proper Join Query Between 2 Tables
- Replies: 15
- Views: 1805
Re: Cannot Create The Proper Join Query Between 2 Tables
Got it:
I want to save up money. PM me your paypal so when I do
I can send you a thank you gift.
Code: Select all
SELECT *
FROM questions
WHERE questions.user_id !=3
AND questions.ID NOT
IN (
SELECT question_id
FROM results
WHERE user_id =3
)I can send you a thank you gift.