I`m using tinymce as text editor on my website.
Sometimes when I wrote some text and save it the html code is a "broken".
It seems there are some unclosed html tags which broke the css layout. This is what is found as a solution http://www.php.net/manual/en/tidy.examples.php
Is there some other technique (php) to autocomplete unclosed ...
I have the foll xml can anyone please guide me how can i render it in html table.
<order po="123" contact="me" comment="out of stock reorder">
<shippingAddress line1="123 Fake St" city="Madison" state="WI" zip="12345" />
<lineItem id="1" quantity="50" comment="for me">
<part number="XYZ123" descr="Spark Plug" price="5.00" we...
I am storing user generated html code in the database, but some of the codes are broken (without end tags), so when this code will mess up the whole render of the page.
How could I prevent this sort of behaviour with ruby on rails.
Thanks
...
I'm currently working on a Perl script to gather data from the QuakeLive website.
Everything was going fine until I couldn't get a set of data.
I was using regexes for that and they work for everything apart from the favourite arena, weapon and game type. I just need to get the names of those three elements in a $1 for further processi...
I have been thinking about building a client to client program. But the way I want is to use the broswer to do it, helped by a server that can make that connection.
The troubles comes when I need to have an unnconected socket (or pasive) in a client, waiting for a connection.
I have been thinking about Html5 WebSockets, but it doesn't...
I just found Bathisar Tidy to tidy up HTML on a Mac. Wonderful app but I cannot figure one thing out about it. In my pages, where I have ® instead of the registered trademark symbol (). I want to preserve the ® in the documents. Bathisar Tidy replaces it with the symbol.
How do I prevent this? What setting do I change?
TI...
I dont understand the problem it works fine on Mozilla or Chrome but on IE8 when u refhresh page player goes to bad possiotion. If somebody had this problem please help me. U can check it on this web site http://www.lifestyletelevision.tv/lstv2/
...
New to Javscript and jQuery, so I assume this is a pretty simple question.
I have a date I want to split into a string, then print out the array.
var date = "12/10/2010";
var dateArray = date.split(/);
$('#printbox').html($(dateArray[0]));
<span id="printbox"></span>
Edit: The question is, how can I split "12/10/2010" into an arr...
I am using ASP.NET MVC, MS SQL and IIS. I have a few users that have used Chinese characters in their profile info. However, when I display this information is shows up as æŽå¼·è¯ but they are correct in my database. Currently my UTF for my HTML pages is set to UTF-8. Should I change it to UTF-16? I und...
I have a search form in my web application that throws an Apache 400 Bad Request error when you search using an apostrophe (smart quote, i.e. ’ not '). This happens when someone copy and pastes from Microsoft Word (which automatically converts tick marks to smart quotes).
The form causes a GET request which puts the search string in t...
String +
if user click the + sign i want to show some oder list
then String -
If the user click the - sign i want to hide order list
How to acheive this with javascript , not using ajax , jquery
...
Hi all,
I am in charge of a website, and I have set up a "Quote of the Day" which currently is quite simplistic. See Here (on the right of the page)
What it currently does is it gets the Day of the month and the month, and normalises to one, then multiplies by the number of quotes (stored in an xml file) and rounds down. While this met...
I am working with files (reading, writing and copying) in my Java application, java.io.File and commons-io were perfect for this kind of tasks.
Right now, I can link to HTML in this way:
Z:\an absolute\path\to\a\file.html
But, I need to provide support for anchors too:
Z:\an absolute\path\to\a\file.html#anchor
keeping the system-i...
Hi. i have this code :
<input name="userfile" onchange="loadPlayerPhoto('1')" type="file" value="fotog">
function loadPlayerPhoto(photoid) {
$.ajax({
type: 'POST',
cache: false,
url: './auth/ajax.php',
data: 'idp='+escape(photoid)+'&id=loadplayerphoto',
success: function(msg) {
$(...
How would I go about writing this if statement in javascript?
if(url == "http://www.google.com/" && "*")
{ ... }
The * needs to be flexible and accept anything added onto the first variable... If no value is assigned to *, the condition must still be true...
...
I'm getting started with ExtJs. I'm building a very simple login form:
Ext.onReady(function () {
Ext.QuickTips.init();
// turn on validation errors beside the field globally
Ext.form.Field.prototype.msgTarget = 'side';
var loginForm = new Ext.form.FormPanel({
url: '/Account/Login',
monitorValid: true,
...
I want to create a textbox for the username But once he starts typing i need a small image with the requirements of username to be displayed dynamically ..
can anyone help me ??
...
I am trying to make a div which expands to show hidden content when hovered over. However there seems to be a random space in between images inside the div, hence a premature onmouseout method call. Is there any way to get rid of this problem?
Check out a live version here.
...
Well, I have this jQuery image slideshow that uses the attribute "control" inside an <a>. Seeing how it didn't validate I searched for a way to add this attribute inside my HMTL via jQuery but I didn't really find anything relevant. Now I don't really care about how valid my page is, but I'm really curious in how to add an HTML attribute...
Hello,
I want to create a diagram using HTML. I used a table with fixed with columns. Everything looks well, but if the content of the a cell is too long, the column width is expanded. I would like the column width to remain fixed, even if some of the content is hidden.
Is there a way to do so?
Thanks,
Noam
...