I've got an html table thus:
up | dn
[ ] Item 1
[x] Item 2
[ ] Item 3
[ ] Item 4
[x] Item 5
[ ] Item 6
[ ] Item 7
If 2 & 5 are checked and I click up, the result is:
up | dn
[x] Item 2
[x] Item 5
[ ] Item 1
[ ] Item 3
[ ] Item 4
[ ] Item 6
[ ] Item 7
If I click dn, the result is:
up | dn
[ ] Item 1
[ ] Item 3
[ ] ...
I have been hitting a brick wall on this for about an hour now. I have a list of counties that I build and add to my view data (counties) and then render the list with a: html.DropDownList('invoice.county', counties) in my view.
It appears to render correctly but FF REFUSES to set the selected item. I have tried swapping the values ...
Hi. My footer if quite high so I'm wondering if it is possible to get the content to overlap it slightly whilst still remaining in the content flow?
I suppose the alternative is to make the footer a few thousand pixels high and position it at the bottom. It's not an elegant solution though, anyone have a better idea?
...
I'm surprised that there is no "text-decoration: reverse" in CSS as it seems very awkward to achieve using JavaScript. I.E. set the element's foreground and background color to the background and foreground of the parent respectively.
I noticed JavaScript techniques for that here
Surely it's not that complicated?
...
I had designed an HTML form with submit button. But instead of submit it to another page I want to submit to pop up windows where I can limit the size of the pop up windows say "320x240" hide all the toolbar, disable resize.
...
I'm doing a select box navigator and wondering if it's better to do a javascript redirect or submit a form and redirect from there. Pros and cons of each?
...
While trying to parse html using Yahoo Query Language and xpath functionality provided by YQL, I ran into problems of not being able to extract “text()” or attribute values.
For e.g.
perma link
select * from html where url="http://stackoverflow.com"
and xpath='//div/h3/a'
gives a list of anchors as xml
<results>
<a class="qu...
This is my site. When i will select songs for playing player.php file will open and it will play the songs selected.
Everything working fine,but the problem is when o will go back and select another songs it is opening one more player window. please help me.
I want only one player window has to be opened even i select other songs also...
Greetings
I am using the jquery disable on submit plug-in but I have a problem. If I disable the submit buttons they dont get passed back to the server so I cant tell which button was pressed. Is this normal? Is there anything I can do about it?
I really dont want to retool my website so I have to set a variable on form submission to t...
I have a problem with setting validation message. i have two Model in one control and both Model have same property "amount".
So setting validation for one Model.amount will reflect to other Model.amount as well. I have tried to pass different ids to both but not working.
<%= Html.TextBox("amount", Model.amount, new { id = "Pamount" }...
i'm using the mshtml dll to develop a helper to ie,
i'm trying to get the position of an htmll element,
i have an object with type of HTMLAnchorElementClass
when i'm trying to get his style.posTop value i get a null ref exception
is there a better way to do it?
maybe other cast?
please help
...
I am trying to use the following code below. What I want is to get the value of which radio button is selected, sent back to the javascript method. Any variation I try seems to fail.
<html>
<head>
<style type="text/css">
body { background-color: black; color: white; }
</style>
<script type="text/javascript">
fu...
I'm looking for something with minimal functionality, such as what you see in gmail or even in stack overflow, but aimed at non developers, that is, no markdown syntax.
Any pointers?
...
I want to build a small application which will go to some websites and read specific data from these website, i want the application to be generic as i can so it work on any website i want later.
So there is a good way to parse website using .net?
...
I'm trying to connect to a webservice https protected through a webservice client. Eclipse generated a stub based webservice client and looks nice to me. The problem comes when I try to call a method from the webservice:
String a = (String)webservice.userProfileServices(xml);
I'm also using the following SOAP headers:
esgGateway...
I can use msdb.dbo.sp_send_dbmail to send out email in html format. It is very nice for text only in terms of format. For example:
EXEC msdb.dbo.sp_send_dbmail
@recipients = @p_recipients,
@subject = @v_subject,
@body=@emailHTML,
@body_format = 'HTML';
However, if I want to include images such as trend generated from data on ...
Does anyone know an easy way in Python to convert a string with HTML entity codes (e.g. < &) to a normal string (e.g. < &)?
cgi.escape() will escape strings (poorly), but there is no unescape().
...
This is partially a request for a workaround, and partially an attempt to get the word out that Internet Explorer's prototype implementation is still faulty.
The following code does not work on Internet Explorer.
XMLHttpRequest.prototype.old = XMLHttpRequest.prototype.open;
var x = new XMLHttpRequest();
x.old("POST", "test", false);
...
I like to display more info on certain keywords in a web page. I don't want to send the visitor to another page and I prefer to show the extra info on top of the current page.
The keywords are in an html list. It's basically a list of features and I want to offer more info about the features. So I have two ideas based on having 'More In...
Duplicate of: What is the best book on CSS?
I have experience with web development and need an intermediate book about CSS. Specifically I am looking for best practices and help coping with browser differences.
...