Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-19-2009, 10:48 AM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2009

Posts: 4

milex is on a distinguished road

Default Javascript Code Help!

i have a website where when a customer adds an item to their shopping cart and calculates shipping the item is displayed as "shipping not availalbe". I am wanting to change this message and the only way to do it is to add some javascript. i have no idea how to do this but I was hoping someone can help?
milex is offline  
Old 08-19-2009, 02:09 PM   #2 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Javascript Code Help!

We need way more information before we can help. What e-commerce software are you using? Is this message an error? Why is adding Javascript the only way to fix it?
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 02:20 PM   #3 (permalink)
 
Newb Techie

Join Date: Aug 2009

Posts: 4

milex is on a distinguished road

Default Re: Javascript Code Help!

Well we are using networksolutions. It is an error message when they enter their zipcode and it is not able to ship because of the weight. That is why they get "shipping not available". Instead of it saying shipping not available we want to be able to add javascript to it so we can overwrite whats there and make it say something like "contact us for shipping quote" or something like that. Hope this helps!
milex is offline  
Old 08-19-2009, 02:56 PM   #4 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Javascript Code Help!

So do you not have access to the core files?
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 03:11 PM   #5 (permalink)
 
Newb Techie

Join Date: Aug 2009

Posts: 4

milex is on a distinguished road

Default Re: Javascript Code Help!

Not sure what the core files would be but i can edit the shopping cart area if that's what your asking.
milex is offline  
Old 08-19-2009, 03:29 PM   #6 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Javascript Code Help!

The server-side files that power the cart. If you have access to them you should be able to edit that text.
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 03:31 PM   #7 (permalink)
 
Newb Techie

Join Date: Aug 2009

Posts: 4

milex is on a distinguished road

Default Re: Javascript Code Help!

Yes i do have access to them. I just don't know what kind of javascript to add to it.
milex is offline  
Old 08-19-2009, 03:34 PM   #8 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Javascript Code Help!

You shouldn't use Javascript for something like this. It is just a bandaid and doesn't fix the problem.

Download a program called Agent Ransack. Then search for the string of text you want to change in the root folder of the files. It should find the files that have that string in them, and then you can change it.
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 03:50 PM   #9 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,159

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Javascript Code Help!

I agree. Why put some text on a users screen only then to change it with a script that the user may have disabled.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is online now  
 
Closed Thread

Tags
javascript

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript code & tutorials oldskool Programming Discussions 4 02-01-2009 05:20 PM
Using javascript to hide and unhide elements dynamically Osiris Programming Discussions 0 01-14-2009 08:56 PM
PHP: How to modify a downloaded JavaScript code and partly change the code within it? LincolnX Programming Discussions 4 01-25-2008 04:25 PM
NEED help with a Javascript code...(mouseover and stuff) Quintox Web Graphics, Design, Digital Images 7 05-02-2007 06:41 PM
JavaScript Botnet Code Leaked To Internet Osiris Virus - Spyware Protection / Detection 0 04-02-2007 09:05 PM