473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

single quote from IE and Firefox

Hi,

I got this basic function not working properly when using differnet
browsers (IE6 and Firefox1.501). The problem is the single got striped
off from IE6,while FireFox preserved the single quote, so that caused
error problem when sending sql query to database.

The single quote is coming from a javascript function.
How can I deal with this issue?

Thanks
A
Mar 4 '06 #1
4 1637
VK

acord wrote:
Hi,

I got this basic function not working properly


Uhmm... Which one? ;-)

Mar 4 '06 #2
VK wrote:
acord wrote:
Hi,

I got this basic function not working properly

Uhmm... Which one? ;-)

It is when I passing parameters in url.
eg.
in Firefox:
url+"?name='"+robin+"'"

in IE, I can't give a quote:
url+"name="+robin

A
Mar 4 '06 #3
acord wrote:
VK wrote:
acord wrote:
I got this basic function not working properly

Uhmm... Which one? ;-)


It is when I passing parameters in url.
eg.
in Firefox:
url+"?name='"+robin+"'"

in IE, I can't give a quote:
url+"name="+robin


There is no (basic) function, and no syntax error.
You are not making any sense.

And please learn to quote.
PointedEars
Mar 4 '06 #4
Thomas 'PointedEars' Lahn said the following on 3/4/2006 1:01 PM:
acord wrote:
VK wrote:
acord wrote:
I got this basic function not working properly
Uhmm... Which one? ;-)

It is when I passing parameters in url.
eg.
in Firefox:
url+"?name='"+robin+"'"

in IE, I can't give a quote:
url+"name="+robin


There is no (basic) function, and no syntax error.
You are not making any sense.

And please learn to quote.


What more was acord supposed to quote? They quoted the entire post as it
was only 3 lines long. Which in this context is appropriate. If anyone
didn't quote properly, it was VK, not acord.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 4 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Craig Ringer | last post by:
Hi folks I'm a bit of a newbie here, though I've tried to appropriately research this issue before posting. I've found a lot of questions, a few answers that don't really answer quite what I'm...
2
by: JeeWee | last post by:
Hi all, I'm looking for a way to "bind" multiple eventhandler function to the same event. In other languages this can often be done by using the += operator, unfortunately this doesn't seem to...
4
by: septictank4spam1234 | last post by:
Downloaded Microsoft Script editor. Did not appear to have any functionality whatsoever. Deleted. Downloaded Venkman 0.6.2. Got a .xpi file. Windows does not run that file type. Useless. ...
3
by: Sandy Bremmer | last post by:
I was curious how one goes about properly creates a table row with multiple TD cells as a single hyperlink because I have seen examples of what I think is invalid and poorly conceived HTML. It...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
14
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT ===============================================================...
7
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script...
3
by: Manfred | last post by:
Hi, When I click any link on this page http://free.pages.at/staudinger/Regest/Regesten/_A1601-02-08-01657.xml it only works with IE 6 (and Firefox) but not in IE 7. I've difficulties to...
10
by: dlrider | last post by:
Hello, I don't know what this would be called, and searches for the subject above are not useful. FAQ did not seem to provide anything either. My inherited application already uses Javascript for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.