/    Sign up×
Community /Pin to ProfileBookmark

Pass data from Javascript to PHP

Dear Friends,

I am gona pass a variable from Javascript to php, please let me know is it possible or not. I am gona pass a Selected Row (in a list box) to my PHP source and fetch the selected row from Mysql.

Thanks

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@felgallOct 11.2006 — The mechanism that allows javascript to make server calls to retrieve additional info without reloading the page is known as Ajax.
Copy linkTweet thisAlerts:
@crazyfangearOct 11.2006 — Aerospace,

Thank you, so much! This is exactly what I was trying to achieve. Either I'm working from a old CSS book, a poorly written CSS book, or I'm not grasping all of the concepts.

I'd like to see if you could clarify a couple of things..

What does the code:

#sidebar_a ul, #sidebar_b ul {

padding-left:20px;

accomplish?

and

If I want to change the overall container width, how is that calculated differently in IE, or is their a different width calculation in IE?

Thanks,

Troy G.

http://www.crazyfangear.com
Copy linkTweet thisAlerts:
@scottybwoyOct 11.2006 — hmm seems like multiple topics here but to the one above do you have two lists with id's

sidebar_a and sidebar_b respectively these lists will have a padding of 20px to the left before they start. But for both questions goto www.w3schools.com and look up ajax tutorials and css refrence respectively
×

Success!

Help @mitok spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...