473,603 Members | 2,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Double quotes

Hi
I have an asp page.I have all the form tags, javascripts etc in that.
For e.g In my asp page I have mentioned my form tag as
<form name=frmupdates kill method=post>

and javascript as

<script language=javasc ript>
some code...
</script>
I send this asp page to my onsite person. When he replaces the old asp page with the one I sent the following are the things I come across.

The form tag now reads as

<form name="frmupdate skill" method="post">

and the javascript reads as

<script language="javas cript">
some code...
</script>

The change I see is it replaces the form names and the javascript with double quotes
the form name reads"frmupdate skill" instead of frmupdateskill
javascript as "javascript " instead of javascript.

Can you please let me know how automatically does this happen altogether.

I checked with the onsite person and he tells me that he just replaces the file thats it its not at all a Human error.

Please let me know on this...

There are many such asp pages which I sent get converted into quotes..

Thanks
Prashant

-----------------------------
This message is posted by http://Asp.ForumsZone.com

Jul 19 '05 #1
4 3308
Files don't change themselves. If you're seeing this in a view-source, some
browsers, such as Mozilla, show you their own interpretation of the source,
so maybe it's something like that that's going on.

Ray at home

<po*******@yaho o.com> wrote in message
news:29******** *****@Asp.Forum sZone.com...
Hi
I have an asp page.I have all the form tags, javascripts etc in that.
For e.g In my asp page I have mentioned my form tag as
<form name=frmupdates kill method=post>

and javascript as

<script language=javasc ript>
some code...
</script>
I send this asp page to my onsite person. When he replaces the old asp page with the one I sent the following are the things I come across.
The form tag now reads as

<form name="frmupdate skill" method="post">

and the javascript reads as

<script language="javas cript">
some code...
</script>

The change I see is it replaces the form names and the javascript with double quotes the form name reads"frmupdate skill" instead of frmupdateskill
javascript as "javascript " instead of javascript.

Can you please let me know how automatically does this happen altogether.

I checked with the onsite person and he tells me that he just replaces the file thats it its not at all a Human error.
Please let me know on this...

There are many such asp pages which I sent get converted into quotes..

Thanks
Prashant

-----------------------------
This message is posted by http://Asp.ForumsZone.com

Jul 19 '05 #2
I would guess it's your editor. I know if I switch to WYSIWYG mode in
Interdev, then go back to HTML view, all of my tables get properties put in
that I didn't put in.

<po*******@yaho o.com> wrote in message
news:29******** *****@Asp.Forum sZone.com...
Hi
I have an asp page.I have all the form tags, javascripts etc in that.
For e.g In my asp page I have mentioned my form tag as
<form name=frmupdates kill method=post>

and javascript as

<script language=javasc ript>
some code...
</script>
I send this asp page to my onsite person. When he replaces the old asp page with the one I sent the following are the things I come across.
The form tag now reads as

<form name="frmupdate skill" method="post">

and the javascript reads as

<script language="javas cript">
some code...
</script>

The change I see is it replaces the form names and the javascript with double quotes the form name reads"frmupdate skill" instead of frmupdateskill
javascript as "javascript " instead of javascript.

Can you please let me know how automatically does this happen altogether.

I checked with the onsite person and he tells me that he just replaces the file thats it its not at all a Human error.
Please let me know on this...

There are many such asp pages which I sent get converted into quotes..

Thanks
Prashant

-----------------------------
This message is posted by http://Asp.ForumsZone.com

Jul 19 '05 #3
Hi,

I think having double quotes like this is a good practise anyway, anyone disagree for a reason?

Some time before, I forgot to use double quotes for <INPUT ......value=key board and mouse> and and mouse got truncated when displayed on the form.

Regards,
Conax

<po*******@yaho o.com> wrote in message news:29******** *****@Asp.Forum sZone.com...
Hi
I have an asp page.I have all the form tags, javascripts etc in that.
For e.g In my asp page I have mentioned my form tag as
<form name=frmupdates kill method=post>

and javascript as

<script language=javasc ript>
some code...
</script>


I send this asp page to my onsite person. When he replaces the old asp page with the one I sent the following are the things I come across.

The form tag now reads as

<form name="frmupdate skill" method="post">

and the javascript reads as

<script language="javas cript">
some code...
</script>

The change I see is it replaces the form names and the javascript with double quotes
the form name reads"frmupdate skill" instead of frmupdateskill
javascript as "javascript " instead of javascript.

Can you please let me know how automatically does this happen altogether.

I checked with the onsite person and he tells me that he just replaces the file thats it its not at all a Human error.

Please let me know on this...

There are many such asp pages which I sent get converted into quotes..

Thanks
Prashant

-----------------------------
This message is posted by http://Asp.ForumsZone.com


Jul 19 '05 #4
Quotes are required if there is a space in the value, because the space is
seen as a delimiter, otherwise it is not unless you want to validate your
HTML with W3C or similar.

Also, please only use plain text in newsgroups.

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
"Conax" <Co******@hotma il.com> wrote in message
news:e3******** ******@TK2MSFTN GP11.phx.gbl...
Hi,

I think having double quotes like this is a good practise anyway, anyone
disagree for a reason?

Some time before, I forgot to use double quotes for <INPUT
......value=key board and mouse> and and mouse got truncated when displayed on
the form.

Regards,
Conax

<po*******@yaho o.com> wrote in message
news:29******** *****@Asp.Forum sZone.com...
Hi
I have an asp page.I have all the form tags, javascripts etc in that.
For e.g In my asp page I have mentioned my form tag as
<form name=frmupdates kill method=post>

and javascript as

<script language=javasc ript>
some code...
</script>
I send this asp page to my onsite person. When he replaces the old asp page with the one I sent the following are the things I come across.
The form tag now reads as

<form name="frmupdate skill" method="post">

and the javascript reads as

<script language="javas cript">
some code...
</script>

The change I see is it replaces the form names and the javascript with double quotes the form name reads"frmupdate skill" instead of frmupdateskill
javascript as "javascript " instead of javascript.

Can you please let me know how automatically does this happen altogether.

I checked with the onsite person and he tells me that he just replaces the file thats it its not at all a Human error.
Please let me know on this...

There are many such asp pages which I sent get converted into quotes..

Thanks
Prashant

-----------------------------
This message is posted by http://Asp.ForumsZone.com

Jul 19 '05 #5

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

Similar topics

5
8257
by: sinister | last post by:
The examples in the online manual all seem to use double quotes, e.g. at http://us3.php.net/preg_replace Why? (The behavior is different with single quotes, and presumably simpler to understand.)
11
36090
by: Jakanapes | last post by:
Hi all, I'm looking for a way to scan a block of text and replace all the double quotes (") with single quotes ('). I'm using PHP to pull text out of a mySQL table and then feed the text into a javascript function called by onClick. The problem is that the text may contain single or double quotes, which screws up the javascript. I eliminated the single quote problem by running the text through addslashes, but the double quotes are a...
5
11441
by: Joel | last post by:
Hi, I incorporated a function in my code that whenever I use a string variable in an sql statement if the string contains a single quote it will encase it in double quotes else single quotes. Queston: How do you handle a string that contains both single & double quotes (i.e. 12'X7") Here's the function:
24
22589
by: deko | last post by:
I'm trying to log error messages and sometimes (no telling when or where) the message contains a string with double quotes. Is there a way get the query to insert the string with the double quotes? Do I need to use code to scrub each string and remove or escape the double quotes before using it in a query? The error I get is this: Error Number 3075: Syntax error (missing operator) in query expression '"credit card billed by...
4
13333
by: (PeteCresswell) | last post by:
Is his just a flat-out "No-No" or is there some workaround when it comes time for SQL searches and DAO.FindFirsts against fields containing same? I can see maybe wrapping the value searched for in single quotes to deal with embedded double quotes, but if there are both embedded single AND double quotes, I can't see any way to deal with it. So, am I doing the right thing to remove all embedded double quotes from my data and write...
8
3381
by: Ahmad A. Rahman | last post by:
Hi all, I have a problem constructing a regular expression using .net. I have a string, separated with comma, and I want to group the string together but, I failed to group a numeric character with decimal values. Example string : 1, 2.3, "two"," three" So, I want to group this string into 4 groups (1), (2.3), (two) and (three)
7
20921
by: gar | last post by:
Hi, I need to replace all the double quotes (") in a textbox with single quotes ('). I used this code text= Replace(text, """", "'" This works fine (for normal double quotes).The problem comes in when you copy a double quote from MS Word and paste it in the text box. What happens is the double quote becomes slanted (“) so my code above can't filter it. I tried to do this text= Replace(text, "““","'")
16
5859
by: Charles Law | last post by:
I have a string similar to the following: " MyString 40 "Hello world" all " It contains white space that may be spaces or tabs, or a combination, and I want to produce an array with the following elements arr(0) = "MyString" arr(1) = 40 arr(2) = "Hello world"
1
2731
by: desi.american | last post by:
I have a dynamically generates ASPX page with tables and data. Depending on user selection, the same page can be viewed as a simple web page (rendered in HTML) or as an excel spreadsheet. If the user chooses to view the page as an excel sheet, I attach the following line of code in C# in the Page_Load method. Response.ContentType = "application/vnd.ms-excel"; All this works fine. But some of cells read nvarchar fields from a database...
4
7444
by: Justin Fancy | last post by:
Hi everyone, I need to replace all instances of a double quote(") with two single quotes('') in a text file. I already have some replacements of strings going on, but I tried this one, but the syntax is being read wrong. Here is the code: lineFile1 = sr.ReadLine
0
7996
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
7928
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8415
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8405
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8060
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8273
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5441
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3951
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2430
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.