473,671 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem in html href

7 New Member
Hi,

I am having a html table with lots of check box, and i am having a link in html on click of that i call a function and append all checkboxes with id value pair in href, not the problem is when the checkboxes are less, the <a href> is working fine, but if checkboxes are many, the href is not working, i mean IE does not post request to the server, nothing happens when i click on link, it really strange behaviour, do anyone has idea why this is happening.....
May 31 '07 #1
7 2990
merseyside
48 New Member
Are you dynamically changing the href attribute of an A element for the user to click on? Or do you want to post a form? Would it be possible to post the code you're using?
May 31 '07 #2
pavancognizant
7 New Member
yeah i am dynamically changing the href of A element when user clicks on link, actually submitting the form would not sufice my need, i have to modify the href of A element, and the number of parameters i am adding to the href is huge, because of that it is not submitting the link to the server.


Are you dynamically changing the href attribute of an A element for the user to click on? Or do you want to post a form? Would it be possible to post the code you're using?
May 31 '07 #3
merseyside
48 New Member
yeah i am dynamically changing the href of A element when user clicks on link, actually submitting the form would not sufice my need, i have to modify the href of A element, and the number of parameters i am adding to the href is huge, because of that it is not submitting the link to the server.
So you're trying to create a link like

thepage.html?na me1=value1&name 2=value2&name3= value3.......

There aren't any +'s or &'s, for example, in the name/value pairs? Have you escaped the values?

Possibly, for the checkboxes try a comma separated list?
May 31 '07 #4
pavancognizant
7 New Member
yes i am doing like thepage.html?na me1=value1&name 2=value2&name3= value3....... this , actually the problem is large number of name/value pair in href which causing the problem, is there any limitations on the number of name/value pairs we can give in href???

So you're trying to create a link like

thepage.html?na me1=value1&name 2=value2&name3= value3.......

There aren't any +'s or &'s, for example, in the name/value pairs? Have you escaped the values?

Possibly, for the checkboxes try a comma separated list?
May 31 '07 #5
merseyside
48 New Member
yes i am doing like thepage.html?na me1=value1&name 2=value2&name3= value3....... this , actually the problem is large number of name/value pair in href which causing the problem, is there any limitations on the number of name/value pairs we can give in href???
Yep, there is a limitation to a URL length. "Traditiona lly" is was 255, but some browsers allow longer URL's, off the top of my head, IE about 2080, Opera about 4000, FF not sure, Googling will give you the exact numbers. But, there could also be a restriction at the server end.
May 31 '07 #6
pavancognizant
7 New Member
i am copying the href getting generated and checking the size of it by pasting into text file, its hardly 5 KB, then also its not working....

Yep, there is a limitation to a URL length. "Traditiona lly" is was 255, but some browsers allow longer URL's, off the top of my head, IE about 2080, Opera about 4000, FF not sure, Googling will give you the exact numbers. But, there could also be a restriction at the server end.
May 31 '07 #7
merseyside
48 New Member
Can you post what's in the href or the code generating it?
May 31 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5627
by: delerious | last post by:
Could someone please take a look at this page: http://home.comcast.net/~delerious1/index11.html The set of links on the left should not have any whitespace between them, and the set of links on the right should have one pixel of whitespace between them. That's how it looks in IE and Opera. But in Mozilla, a few of the links on the left have whitespace between them, and some of the links on the right don't have whitespace between them...
6
5165
by: Patrick | last post by:
Hi I am fairly new to CSS and the web.I am trying to build a site more to practice my skills than for the site itself. I have been focusing on CSS and try my best to make it work in I.E 6.0, Opera 7.23, Mozilla 1.4 and N.N. 7.1. My site was doing fine until i read i was supposed to keep everything validated so i entered a strict html 4.01 doctype with url following.My HTML validated fine. So i validated my CSS and beside a little...
5
2673
by: CMAR | last post by:
I have been having a problem styling a page, which you can see live at my test site: Designer Page (http://home.ne.rr.com/thespar/) (Ignore the missing pictures, which have not been uploaded.) The page renders correctly in TopStyle and Dreamweaver 4, and also online in my test website, i.e., the 5 successive navigation divs are correctly rendered one after another.
1
2008
by: Julius Mong | last post by:
Dear all, according to the ASV3 manual known problem section, to make an <a> execute some Javascript onclick: http://www.google.co.uk/search?q=cache:OPDjMJfL50sJ:www.adobe.com/svg/indepth/pdfs/ReadMewin.pdf+adobe+svg+javascript+problem&hl=en&ie=UTF-8#5 4. Due to design limitations of Netscape, avoid using HTML with the following form: <a href="#" onclick="myScriptWhichModifiesSVG()">The problem is that JavaScript responds to the onclick...
8
4797
by: knoxautoguy | last post by:
This problem has consumed a lot of my time, and I'm aftraid someone will tell me that my whole approach to this objective is wrong; however, I would like to know if there is a way to do this. I have a web page divided into two major segments, with the top segment fixed and the bottom segment allowed to scroll, thus giving the look of frames without frames. I also have anchors so that users can click on a letter of the alphabet to jump...
5
3686
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually for repeated html im using the external js, i mean the TOP, BOTTOM they are repeated in every page, so i include them as functions in the external js and call them. Why it doesn't work?
3
4109
by: modermo | last post by:
Hey new to javascript figuring out how to fix this darn problem. I employ an image rollover, and it works beautifully in safari. But in firefox, the image has an annoying blue border around it, which i didnt specify. Further to that, when I click it, it should lead straight into another site/window. But when i click it, another totally irrelevant image pops up. Its only when i click it again that it the link takes me to another site. ...
2
2273
by: Ravi Joshi | last post by:
The menu on my site works fine in IE6 and Firefox. In IE7, there is a problem with the menu: when you mouse over the various main catagories, the sub-catagories all appear to the right as they should; however, as soon as you mouse towards any but the TOP sub-catagory, all those sub-catagories still view there. It will work first time quite fine..but if user clicks outsite anywhere in screen then this problem occur.. i think it's css...
1
2303
by: crazy works | last post by:
hello guys, i have problem in the scroll bar on my css code , i am trying to use that css menu from that link http://www.cssplay.co.uk/menus/slide_fly.html it actually works very good but i want to use it on the right side from my site not in the left side so i edited the ccs code but the scroll bar didnt works really good ,it scroll so much on the left side , here is screen shot http://qbael.com/upload/mn/screen.JPG and here is my full...
2
3007
by: swethak | last post by:
hi , i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my local system that validations work.plz tell that whats the problem in that. Here is my code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html...
0
8478
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8397
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
8919
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...
1
8599
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
8670
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
5696
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
4225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4409
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2052
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.