Home | User-Defined Functions | Tips & Tricks | SQL Server 2005 | Forums | Frequently Asked Questions | Practice Test |    
SQL Server Helper Forum
SQL Server Helper Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Development Tools
 Javascript
 javascript function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic   

Sarah

USA
95 Posts

Posted - 01/26/2007 :  09:25:35  Show Profile  Reply with Quote
Hi everybody

I am trying to develop an application, in which i want your help and suggestions.

I have a master page and many content pages. I want to write a javascript function in the master page script, and call that function in body onload.

I have a field in User table, which has the CSS files choosen by that user. The field value is just the file name, but not with extension .css
I have a stored procedure which retuns this CSS field values, if supplied userid.

The problem is that, I am not getting an idea how to write the function, which executes the stored procedure, taking userid as parameter, and then get the returned value, adding a .css extension to that, and assiging that field value.css to the href of the link?

Can anyone please help me in this?

Thanks

Hard work is the stepping stone to success!!!
  Previous Topic Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
   
SQL Server Helper Forum © 2006 SQL Server Helper Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06