Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > AJAX Javascript file problem

Reply
Thread Tools

AJAX Javascript file problem

 
 
=?Utf-8?B?VGVycnkgU21pdGg=?=
Guest
Posts: n/a
 
      02-20-2006
I have individual Javascript files at the component level for components that
need to make AJAX calls to the server. The server returns a list of XML
elements with the name of the control whose contents will be updated and the
HTML of the new content. My client-side callback handler is generic in
handling this XML, and I don't want to copy it to all the individual
component-level Javascript files. I would like to have it in a common
Framework.js file; however, I don't receive any AJAX responses when I do that.

Is this not possible?

Thanks,
Terry

______________________
Terry Smith
Senior Architect
Insight Ecosystems

 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3RhbmxleSBBbGV4?=
Guest
Posts: n/a
 
      03-17-2006
Yes, it is possible by the following syntex in your header.

<script type="text/javascript" src="js\AjaxVariables.js"></script>
<script type="text/javascript" src="js\AjaxScript.js"></script>

My guess is that you know this, but if you are not getting a response back
make sure that your path is correct to your script files. Also, a good
example of this can be found at:

http://aspalliance.com/716



"Terry Smith" wrote:

> I have individual Javascript files at the component level for components that
> need to make AJAX calls to the server. The server returns a list of XML
> elements with the name of the control whose contents will be updated and the
> HTML of the new content. My client-side callback handler is generic in
> handling this XML, and I don't want to copy it to all the individual
> component-level Javascript files. I would like to have it in a common
> Framework.js file; however, I don't receive any AJAX responses when I do that.
>
> Is this not possible?
>
> Thanks,
> Terry
>
> ______________________
> Terry Smith
> Senior Architect
> Insight Ecosystems
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An Ajax Dictionary... My first AJAX project... GreatDomainz@gmail.com HTML 20 03-31-2008 01:24 PM
ASP.NET and AJAX: JavaScript files from the Microsoft AJAX Library Nathan Sokalski ASP .Net 2 06-02-2007 12:07 AM
AJAX IDE and AJAX TOOL--The Release of JoyiStar AJAX WebShop 3 Beta minnie Java 1 12-13-2006 06:29 AM
beginner AJAX questions (AJAX.net) darrel ASP .Net 5 04-28-2006 06:42 PM
AJAX Javascript file problem =?Utf-8?B?VGVycnkgU21pdGg=?= ASP .Net 0 02-17-2006 10:45 PM



Advertisments