I have a shoutbox with a 'Refresh' button that is currently in an iFrame due to this function. Is there any way I can get the content of this shoutbox to refresh without having to have it in an iFrame? ... like refreshing the content in a div?
What's feeding the <div>? If you're feeding it with data onscreen, you can probably use a simple JavaScript to update a box. If it's being fed with data from the server, it's AJAX to the rescue
It is a php include being fed from an SMF database o0 Please can you tell me where I should start looking to get AJAX to help me make this refresh button do what I want?
Do a search on google for AJAX tutorial and you should find some basic info on how AJAX works and it will take you through making something in AJAX. You should be able to apply the same concept to your shoutbox using javascript.
I find this quite complicated... can someone not supply me with some code for a button that will refresh the contents of a php include?