show something different after post without refresh?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

show something different after post without refresh?

Post by mudkicker »

hi,

i was wondering if i can do this.
my problem is:
i have a poll in my homepage. after voting and pressing submit i want to process it and show the messag (or results..) in the same area where this poll is but without refresh?
is this possiblE?

thanks.
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

Hi,

I posted a similar question about this some time ago. Some of the responses might be of help.

Here's the thread.

I have yet to try out any of the code.

viewtopic.php?t=13891&highlight=
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Maybe an iframe?

-Nay
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

i think i would go with the iFrame option as Nay said.

I don't think the topic that microthick will be able to help you in this case.

Mark
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

well,
thanks for replies.

nay and bech100 i thought this i frame too... well if you all thought that this is the best option i would make it with iframe. it was my first idea but asked if i could do it any other way.

thanks again!
have a nice day
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

I've seen the attribute <div style="content:url(bla.html)">. I saw the content:url() in my CSS reference sheet though. Maybe you can look into that, though I'm not sure what It does.

-Nay
Post Reply