Hi folks,
the user needs to provide a list of field/values through a form
class FieldForm(forms.Form):
field_name = forms.CharField()
field_value = forms.CharField()
The problem is how do I get a user to pass multiple of these with one submit?
Also as a side question... any tips on implementing editing too?
Any ideas? ...
Ever since JQuery came along a few years ago I've been using it in all my client-side scripts. Initially I used the '$() syntax to grab and manipulate objects this, to me, is the 'old skool' paradigm of explicitly wiring up button events to functions:
<button onClick='myFunction(this);' ... />
with a related function:
function myFun...
Hello,
Got a newbie CSS question, just beginning to get into CSS so please bear with me. In my ASP.NET MVC app there's a menu:
<div id="menucontainer">
<ul id="menu">
<li>something</li>
<li>something</li>
<li>something</li>
<li>something</li>
<li...
The text on the top has the opacity of 0.5. The other image has a color of #dddddd (hex).
This is the code I am using:
<p style="font:60px Arial;font-weight:bold;opacity:0.5">Hello!</p>
<p style="font:60px Arial;font-weight:bold;color:#888">Hello!</p>
The text on the top has jagged edges. I'm wondering why that is.
...
I have a link
<asp:HyperLink ID="BtnPrint" runat="server"
NavigateUrl="~/CrystalReportViewer.aspx" Visible="false"
Target="_blank" ToolTip="Print pdf">Print</asp:HyperLink>
I want that when I click to show it should be visible.. that's working...
but I want that when I click to this hyper link it ...
hi there,
in the header section of my web page, the design is something like the logo and navigation div should overlap a repeat-x image(i.e bg-header).
this is the html i have used
<div id="header">
<div id="header-bar">
<p>kljslakdjlaskjdkljasdlkjasdlkjaskldjasjd</p>
</div>
</div>
and this is the css
#header {
...
down vote favorite
The HTML:
<div id="broadcast">
<div id="broadcast_header">
Neighbourhood Broadcast
</div>
</div>
The CSS:
#broadcast_header
{
background-color: #A0522D;
width: 100%;
height: 20px;
position: relative;
top: -20px;
font-weight: bold;
}
Firefox: All fine, header appears 20px above the div, its...
I'm using libxml2 in my c project.
I was wondering how could I grab all tables in a html file using xpath.
Sample code will do the trick.
I need to parse the data in html table.
Thanks
EDIT:
This is a row of the table:
<tr class="report-data-row-even">
<td class="NormalTxt report-data-cell report-data-column-even"><nobr>0.0285</nob...
hi
in the below div width is 675.
width:675px is working currect in inetrnet explore 8&9
buy in firefox and google chrmo display width 2px extra.. why like this.
How to fix 675 in firefox and google chrmo ?
<div style="width: 675px; height: 50px;border: 1px solid red" >
</div>
...
I can either use java or html to do this. I have tried using window.open(), but there is a cap on the length of string passed. I have tried using runtime.exec(), but with no luck. Can anyone suggest any other method for achieving this. I am not supposed to use java swing to achieve this. The java runtime I use is java 1.5.Please help me ...
What is web 2.0 with respect to development and designing
...
I have a table who's columns contain two inline divs, one displaying an image, and the other display text, side by side. So each td is rectangular with an image on the right and text beside it on the left (on a single line). The problem (which happens in all browsers) is when I shrink the horizontal browser size, rather than keeping th...
Hi, everyone,
I have created new rows, but I cant delete it. When I click on the remove button, nothing happends. What am I doing wrong?
Im greatfull for any advice.
<table>
<tr>
somethingElse
</tr>
<tr>
<td colspan="5">
<script type="text/javascript">
var inputCount = 0;
function addRow(id) {
...
Hello,
a website has 2 textareas and 2 submit-type buttons. Both textareas are simple text <input type=text name=to class="text" value="" maxlength=20>.
One button is send button <input type=submit name=s value="Send"> another is erase <input type=submit name=reset value="Erase" onclick="eras=1;"> .
Is it somehow possible to replace th...
I want to convert this svg map to an HTML map (area coords). I have tried to do it by hand, but the coordinates don't match. I want every zone to be selectable (not just the one highlighted). I can't find a way to do it...
...
Hi,
I am using the jQuery Drop Down Check List component:
http://github.com/scottwb/jquery.ui.dropdownchecklist
However, it doesn't seem that there is support to add a tooltip to such a drop down. Usually, you just add the 'title' tag for every option and a tooltip is automatically shown. However, this is not the case with this compon...
I'm building a JS library which has a requirement of looking at form[action] and a[href] values and resolving them into absolute URLs.
For example, I'm on http://a/b/c/d;p?q and encounter an href value of "../g" (assume there's no <base> element). The resulting absolute would be: http://a/b/g.
Is there a JS library that does this alre...
Well,my current situation is like this.
When i search something on my site for ex. http://example.org/web-search.phtml?search=SEARCHED+TEXT the respective content is shown.
As you can see I'm using a GET form to get the data from the previous form.So the first thing i want to do is open a file with the same as SEARCHED+TEXT.So now i wa...
I am writing a check to see if a timeout is active. I was thinking of doing this:
var a = setTimeout(fn, 10);
// ... Other code ... where clearTimeout(a) can be called and set to null
if (a != null)
{
// do soemthing
}
I was wondering if it would ever be possible that a will be 0. In that case I would use a !== null
...
Hi,
I have the following sample HTML code: http://pastebin.com/Mya6tPc6
And here is the jQuery code I am trying to use:
$("#folder1").click(function(){
alert($(this).attr('id'));
});
$("#f1").click(function(){
alert($(this).attr('id'));
});
Here is the problem:
If the user clicks on the element 'folder1', it will display 'folder1'...