Show content on the fly

Hello,
thanks for reading my post.

i have a job site where i want to user if a job is expired
i.e. want to show a warning

but i don’t want search engines to crawl/index this warning message

so i think showing content using javascirpt/jquery is the solution.

i am using wordpress and currently i am showing it using normal HTML

but how can i show it using jquery so that search engines can’t crawl?

if this page is a staric page:

User-agent: *
Disallow: /error_page/

in your robot.txt

If not try googling for a plugin that allows to add a ‘noindex’ meta tag (or write it yourselves)

<META NAME="ROBOTS" CONTENT="NOINDEX">

in the head

i am sorry but i think i didn’t explain you perfectly.

i want to impliment a feature which i seen in “referrer detector” plugin for wordpress

if you want to see how it works,
please search in google for “referrer detector”
and visit his page, it shows a welcome message at at top of the post

i want to impliment such feature,
even though its from php, it doesn’t load with page, i think it loads after end of the page.

i want to impliment such feature
i.e. i want to display a message to visitor if a job is expired via javascript/ajax/jquery after page is loaded.

thanks