Hi all,
Having a little trouble and wondered if anyone could help :-)
I am trying to pass the value that a user enters into a html.Textboxfor to an html.Action link.
As shown below :
<%=Html.TextBoxFor(m => m.OrderQty)%>
<p class="button" >
<%: Html.ActionLink("Add to cart",
"AddToCart",
...
I have a menu coded in html here, but i need a dotted line to span between the Names and Prices, How would i go about doing that here? I'm kinda lost haha.
You can see it here.
http://mystycs.com/menu/menuiframe.htm
I know i can use css to do it, but how would i get to it span between those two.
Thanks =)
...
hello there.
i have been stressing for an hour at this stupid script i am trying to make it uploa an MP3
file to a folder it creates.
It is putting the information into mysql and making the folder bu when i ftp the folder is empty with no music file in there
here is the script thanks so so so much!
BTW $name is the POSTED name and ful...
im trying to turn this jquery script into a toggle event type, thier is my script, with illustrations, to show what i want to happen. i cnt seem to intrgate it so here goes:
//myElement.toggle(vote(), unvote()); // this is the toggle event
$(document).ready(function() {
$('.statuses').delegate('.vote_up', 'click', funct...
How can I delete list element if it has a child link of some defined id ? So looking at the code below I'd like to find a <li> with <a> of id=link1 and delete this li.
<li class="nav-tab">
<a href="#link1">Component</a>
</li>
I've tried the code below but it doesn't work :
$(function() {
$('.nav-tab:has(#link1)').css('displ...
I have a webpage. I want to change the icon on button down (this would be enough for me to understand but I'd be glad if you'd describe a way to animate icon after button click).
...
I am using this according plugin link text the 3rd one down...3: Non-accordion (standard expandable menu) and each li looks like this
<li>
<a href="#">Burswood Dome - Burswood Wa, Australia</a>
2010-10-04
<ul class="acitem">
<br><input id="yes_song1" name="yes" type="radio" value="song[1]" />
...
What is wrong with this jquery script? It doesn't seem to be functioning properly: there are no syntax errors (I checked).
$(document).ready(function() {
$('.statuses').delegate('.vote_up', '.vote_down', 'click', function(e) {
e.preventDefault();
//get the ide
var the_id = $(this).closest('.message').attr('i...
My default character encoding is Western (ISO latin 1, ISO-8859-1). I am using this code to change the character set:
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
My website only displays properly when I click on "Text Encoding" then "Western (ISO latin 1)" in the Safari view menu. Even when set on defau...
I've been applying an ID to the body tag of my HTML documents lately to allow greater CSS control (#9). Recently the though occurred to me that I could do exactly the same thing by applying a class to the body tag. I want to know positives and negatives of each choice. If I have multiple pages where the body tag has the same ID, is it be...
I have a form were a user enters information, and then I have a PayPal button that the user will click once the fields have been filled in. The problem I'm having is how to you capture the user information when the paypal button is clicked, if the form has action="http://paypl.com/something/something".
Do I have to make this a 2 page pr...
C file:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{
FILE *ptr;
char m[200];
char *data = malloc(200);
data=getenv("QUERY_STRING");
sscanf(data,"%s", m);
printf("%s", m);
ptr=fopen("c:/test.txt", "w");
fprintf(ptr, "%s", m);
fclose(ptr);
return 0;
}
//gcc -g print.c -o print.exe
HTML ...
Can I test Javascript code in GWO? For example, how would I test:
$('#first_name_field').watermark('First name');
Ideally the person who tests different content doesn't have to enter lots of javascript, only the text they want to change... like "First name" above.
...
I'm not a web guy, so this might be something really simple I'm missing, but:
Consider the following page:
http://pastehtml.com/view/1bg9qno.html
Which is basically a list of <input>s, and each input has a helper <span> with text (that will change along with the input's value on keyUp).
So when the list is long enough (like in the ab...
I have a grid of 5 columns and 5 rows using an unordered list. The grid has an image and underneath the image there is a hyperlink and a description, both of which are coming from a database (FileMaker Pro via PHP). So, each grid cell consists of three li items. Now what I would like to do is have two buttons under each item in the gr...
In my previous question (asked before I registered), I asked why my ACM chapter's site doesn't get all the way through IE's CSS parser. Got an answer, but after turning on Drupal's CSS caching which merges all CSS into one file, absolutely no CSS is handled. What gives? The CSS validator says there's a few bugs but none of them look like...
Hello,
This markup shows my problem:
Webkit browsers seem to create an erroneous width on floated parent elements with floated/overflow:hidden elements inside, when their width is set to 0. Is there a known workaround?
<!DOCTYPE html>
<html>
<head>
<title>float & width</title>
<style type="text/css">
div {
...
Let's say I have custom HTML tags like so:
<fb:est hours="5">5 Hours</fb:est>
<fb:act hours="4">4 Hours</fb:act>
How do I select the fb:est elements?
Doing var e = $('fb:est') does not work. And var e = $('fb\:est') doesn't work either.
...
I need to create a website - Content based for a Training institute
It contains informations of the National Exams, Forms, FAQs, Question Banks etc
The training these institutes give for the above exams.
Login for staff and students where they can create/share documents like - word/excel/power point.
I know PHP, Cakephp and Wordpres...
Hi Folks,
The goal is to find the largest piece of contiguous text in a document. The problem is that the largest piece does not lie under a single element, e.g. a blog post which has <p> tags in it so iterating nodes and comparing innerHTMLs is not going to work. And by getting innerText of an element, the root node always contains big...