passing url parameters in ajax


i'm unable pass url parameter div other. , think problem might beacause there's no if statement javascript, page loads empty parameter.

here's code:

 

    enter code here

   

<script language="javascript" type="text/javascript">

 

  var url = window.location.search.substring(1);

   jquery(function($){

      $('#read').load('real_news.asp?'+ url);

   });

</script>

you have duplicated post (again). please not duplicate post. in duplicate post #2 asked provide url of page because it's possible having issue else. told you're passing value , there's no key url param make real_news.asp script process anything.

 

duplicate post #1

http://forums.adobe.com/message/5457850

 

duplicate post #2

http://forums.adobe.com/message/5457840

 

best,

shocker



More discussions in Develop server-side applications in Dreamweaver


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?