I feel like this should be extremely simple to find on the web... but I haven't found it yet.
I'm looking for something really simple.
I want anyone who visits my page, who want to post a comment on A SINGLE PAGE, to be able to enter text into a text box and click "submit" and have the comment posted to the page.
no checking for spam,...
I'm working on a web application that uses wysihat to let the user edit a large textarea.
I wanted a WYSIWYG text editor that was easily customized, and one of the customizations I was hoping to make was having a keyboard shortcut (I was thinking command/control + L) turn the current line into a heading. I can add buttons to do this ea...
In HTML I have a set of checkboxes grouped together by a class. I want to get an array in jQuery containing all the checkboxes that are selected/checked for that class (so other checkboxes on the page are ignored).
So HTML code like this:
<input type="checkbox" class="group1" value="18" checked="checked" />
<input type="checkbox" clas...
I am building a Proof Of Concept for a component that was earlier built in vb6. Since the component has complex UI elements, I am not really sure how far i can reproduce the same thing with Lotus Notes UI elements. What I am now currently looking to do is the following.
Create a Button in an exist LN form.
When the button is clicked it...
Hello, first off, I am a newbie with php (as well as coding in general). I have a website that has user profiles. On these profiles there are areas to comment in. I am trying to toggle 3 types of comment areas depending on
A. If you are signed in and looking at your own profile
B. If you are signed in looking at someone elses profile
C...
hi everyone, im trying to create a dynamic page using external .css pages where the page color will get changed below is my code.. but when i click the "href" i am not getting any output.. can anyone pls tell whats the problem in my code.. any sugessions or ideas pls.. thanks in advance...
<script language="JavaScript">
function loadjsc...
Is it possible to set some width to the <a> tag in html ?
If yes what is the way, if no is there any work around ??
...
This code is from http://processingjs.org/
which only works in firefox
<!DOCTYPE html>
<html>
<head>
<script src="../../processing.js"></script>
<script src="../init.js"></script>
<link rel="stylesheet" href="../style.css"/></head>
<body><h1><a href="http://ejohn.org/blog/processingjs/">Processing.js</a></h1>
<h2>Sna...
I am looking for a tool or API/library to automatically fill up a webform with data. I have a text file with 100s of records that I need to enter into a webform. I tried searching for some tool or browser APIs so that I can copy text to a clipboard and from the clipboard to the webform; but the search results are polluted by automated We...
I'm creating a sample website using xhtml with javascript support. Also using php for server side programming. I need to redirect the webpage to some other page from an html page, after checking some condition.What is the best method to implement this. I've done it using
header("link"); but since i'm using it inside the tag, it shows u...
I have to parse this HTML:
<p>
<strong>abc:</strong>
asfkjsdg
</p>
$para contains the value of the element <p>. I am using HTML::TreeBuilder.
$para->as_text
gives me
abc:asfkjsdg
How can I get only:
asfkjsdg
...
I have a select element with a couple of dates but I also want to give the possibility of picking a date from the datepicker so I have the following code that displays a calendar icon next to the select field.
<select name="birthday" >
<option value="${merge0.birthday}">${merge0.birthday}</option>
<option value="${merge1.birth...
Hi all,
In the following code I need to match the width when shrinking the window :
<div style="background-color:blue;">The title</div>
<table>
<tr>
<td> Column title </td>
<td>Content</td>
<td>Column title2</td>
<td>Content 2</td>
</tr>
</table>
This is just a little example of the page, it would involve more div...
I have a string variable that contains a lot of HTML markup and I want to get the last <li> element from it.
Im using something like:
$markup = "<body><div><li id='first'>One</li><li id='second'>Two</li><li id='third'>Three</li></div></body>";
preg_match('#<li(.*?)>(.*)</li>#ims', $markup, $matches);
$lis = "<li ".$matches[1].">".$matc...
Is it somehow possible to stop a script tag from loading after is has been added to the head of a HTML document?
I would like to have something like this:
var script_tag = document.createElement('script');
script_tag.setAttribute('type', 'text/javascript');
script_tag.setAttribute('src', 'http://fail.org/nonexistant.js');
document.getE...
Hi All,
I am facing trouble enabling "High Resolution" mode in WM6
Professional. I am using a HTMLView.dll to embed an HTMLControl in our
application. By default the "HTML" Shown is not in "High Resolution"
Mode - The App is appearing all zoomed up and as how it is displayed
in lesser resolution Emulators/devices.(QVGA)
I have already ...
Hi,
I've wrote a html page wich uses jquery, but javascript execution stops at the following point:
alert($('[name=fAantalVakjes]').val());
This is the relevant html tag:
<input type="hidden" value="1" id="fAantalVakjes" name="fAantalVakjes" />
Could someone help me please?
Thanks in advance,
Yvan
Edit: full code:
function Vali...
From their site (Free Project On Google Code): http://code.google.com/p/dompdf/
dompdf is an HTML to PDF converter. At
its heart, dompdf is (mostly) CSS2.1
compliant HTML layout and rendering
engine written in PHP
I need to have the same functionality in an ASP.NET website. Is there any good free alternative that can work wit...
I have the following file:
<p>
<a href="a1">A1</a>
<a href="a2">A2</a>
<a id="a3">A3</a>
<a href="a4">A4</a>
</p>
I need to skip the a tags from within the list obtained by $para->look_down("tag"=>'a');, which have an id attribute equal to some value.
I am doing:
$str = '';
$str = $anchor->attr('id');
if ($str != 'a3') {
last;
}
...
Hi,
I am trying to attach an html file file to email using Visual Basic 6.0. when the cursor is comes on Open strFile For Binary Access Read As #hFile line it gives error "Error encoding file - Bad file name or number". Please all your help and support would be highly appreciated.
Dim handleFile As Integer
Dim strValue ...