html

Concatenating a string in a querrystring of a <a> link in c# created through asp.net

I can already send something in the querrystring: <a href='Exibe.aspx?var='lalala''> but i'd like to send a string instead of lalala, and when i try to concatenate normally in the response.write with "+" signs, it just doesn't. it creates the url only with the part before the "+". facts: the string has a value i can concatenate it wi...

Is this way of doing this the 'better way' ?

I have a advertisement website with alot of records stored in a mysql db. On my main page, I have a form where users may specify their search criteria. Action is set to myPhp.php file. myPhp.php contains NO HTML, only php code, and it is basically something like this: 1- get values from FORM and build a SQL query 2- query MYSQL db. 3...

how to word wrap in normal html textbox?

i have this text box <p>Event Data :<input id="data" type="text" wrap="true" value="{{data}}" style="width: 757px; height: 170px" /> </p> i want it to be multiline i can't use asp:textbox is it possible to use exact textbox and make it multiline or make the text in textbox go word wrap ...

How to display the pulldown button only

I am creating a customize combobox and want to use the default pulldown button used on <select> element. The combobox is composed of a textbox, a pulldown button and somewhat a table element containing the list. Everything is working except for displaying dropdown button. Note that I want to refrain from using any background image for t...

option tag title should be always display

Hi, is there anyway for the title in option tag to be displayed always? <select> <option title="sometitle" value="">1</option> </select> any ideas please? Thanks ...

How can I mimic text-overflow: ellipsis in Firefox?

I have some dynamic text contained in a div that is set to whatever a user enters in a textbox field. If the text doesn't fit in the div, right now it just gets cut off at the edge and all the text that extends past the border is not visible. I would like to truncate the text so that it fits inside the box and has an ellipsis (...) appen...

JQuery and hidden fields

Hello, I need to create a hidden field on my page, store some value in it and read that value later. If i create a regular text input and read its value using jquery, i get the correct value. But if i create a hidden input field,populate it with some text and read its value using jquery i get null. example: Suppose the following input...

Format HTML document

Hello everybody, I like very much in Viso Studio (Format HTML Document) (CTRL +K, CTRL +D) But There are the same one for another free editor , I thing in Visio studio express id doesn't exist . Can I find another free editor or plugin, for example plugin for Notepad++ .. Thanks! ...

Creating a simple custom view in SugarCRM

Hey! I am trying to use the MVC architecture of sugarcrm to add a new action and with that a new view. I have managed to create a controller with the action and also a class view, the only thing I can't figure out is how to create a simple html page. Do I really have to use the metada way of sugarcrm?? I just want a simple form with ...

HTML Radio button inside ASP.NET repeater C#

I am trying to simply bind a HTML Input radio button inside a repeater : <asp:Repeater ID="Outlets" runat="server" > <ItemTemplate> <input type="radio" name="Proposal" value="Test1" id="Radio1" checked=" <%#`GetSelectedValue(DataBinder.Eval(Container.DataItem,"IsDefaultSelection"))%>" />` <label for="Test1"> <%#D...

set an intial value in a dropdown list that isn't one of the list options

I appreciate that this may be a pretty daft question, but can anyone think of a way of having an initial value in a dropdown which isn't one of the options in the dropdown? I'm looking for a snap-to-grid type thing where the options might be 10, 20, 30, 40... but the actual intial value might be say 17.543... I want to show the intial ...

HTML: Radio buttons connected to select lists

Excuse my lack of html knowledge, but is it possible to set up a set of say 3 radio buttons so that each one links to a different select list of items? What I'm trying to do is let the user select either: Projects select list of all the projects, Tasks select list of all the tasks, Users select list of all the users As far as I have b...

Using Javascript to 'sum selected cells' in IE6

In excel it is possible to highlight a range of cells and view the 'sum' in the 'status bar'. Can this be done in IE6 using Javascript and a HTML table ? ...

how to extract data from a raw html file

Is there a way to extract desired data from a raw html which has been written unsemantically with no IDs and classes? I mean, suppose there is a saved html file of a webpage(profile) and I want to extract the data like (say)'hobbies'. Is it possible to do this using PHP? ...

Replacing fields with jQuery

Why is line 10 returning null? http://pastie.org/720484 it works with line 40 ...

How do you create tabstops in XHTML?

Hi there, I'd like to use an element like 'span' or any other regular ole' element to create a tabstop in an xhtml webpage (i.e. valid XML). The effect should be equivalent to 4 "&nbsp;" right next to each other (couldn't do that without putting a space between the ampersand and 'n'. Anyone know how to do this? Edit: My initial post did...

is this a safe/good way to implement login with ajax?

Hi I have created the code below to check if a user is valid to login to a database, I am using SSL to secure the connection, but I dont know if this is still a good way in which I have done it. Could anyone give advice? Thanks. (sorry its abit long) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/...

Extracting html elements in a given region?

Given a region defined by a rectangle and a url, is there any way to determine what elements lie within the given rectangle on the page at the given url? EDIT: Screen resolution, Font size, etc.. can all be set to reasonable defaults. ...

HTML valid way of tracking outbound links via Google Analytics?

I am using http://bit.ly/5NNAIa, and I have it tracking an outbound link, but I want my page to be valid. This is the error I am getting: There is no "OnCick" attribute The HTML is: <p>View some of our student produced videos on <a href="http://www.youtube.com/user/johndoe" onClick="javascript: pageTracker._trackPageview('/outgoing/y...

Setting proportional column width with <col width="x*" />

I am trying to set proportional column width with <col width="x*" />: <table width="600px"> <col width="1*" /> <col width="2*" /> <col width="3*" /> <tbody> <tr> <td style="border: 1px solid black;">AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA...