473,513 Members | 2,525 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 2983
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?name1=value1&name2=value2&name3=value 3.......

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?name1=value1&name2=value2&name3=value 3....... 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?name1=value1&name2=value2&name3=value 3.......

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?name1=value1&name2=value2&name3=value 3....... 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. "Traditionally" 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. "Traditionally" 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
5622
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...
6
5156
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,...
5
2667
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.)...
1
1993
by: Julius Mong | last post by:
Dear all, according to the ASV3 manual known problem section, to make an <a> execute some Javascript onclick: ...
8
4783
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...
5
3680
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...
3
4094
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...
2
2253
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...
1
2277
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...
2
2996
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...
0
7260
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,...
0
7161
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
7384
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,...
0
7539
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...
1
7101
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
5686
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,...
0
3234
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...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.