Hi,
I got an object tag (generated by SWFObject) which I'ld like to modify width and height properties on window resize with mootools library.
With a :
$('my_object').set({ 'width': new_width, 'height': new_height });
everything working fine in a firefox, chrome and others.
Unfortunately, Internet explorer (7 & 8) don't see it the ...
What is the "natural" number of allowed characters in an input field in html?
thanks a lot
addition due to the comments
i don't need to send it to the server via post or get.
i am going to parse the string via JS.
So if the input is unlimited like @sAc says brings me to two further questions:
What is the longest String JS can
hand...
hi StackOverflow!
I have a problem with JQuery and the following markup.
<div id="ParentContainer">
<div class="main">
<div class="sub1"></div>
<div class="sub2">
text
</div>
</div>...
Hi,
I'm trying to achieve the following behavior using the Servlet 3.0 API:
send an inital html page
send subsequent responses that update the page
This all works except the only way I could send the initial page without getting the response committed is by manually writing using the HttpResponse Writer...
I was wondering if there...
How to set max length for Span and Div elements ?
...
I'm using AJAX in my site and Latin 1 characters which is indeed a problem. The solution I found was to convert accented character in html entities but i don't know how.
I'd like to transform ó, for example, in ó
I tried to use htmlentities("ó") but it printed ó. I don't know what to do anymore
Better explaining
I...
How can I prevent showing web address at the status bar while hovering a hyperlink?
...
I'm using a form to record data in my database using AJAX. So, how this works? I get the form data via Javascript, request a URL which is written in PHP then insert to the database.
The problem is that I'm using Latin 1 characters so the form is expecting also accented characters like ó. I need to convert this ó to html (ó) in ja...
Hi,
I am using strong typed views in my MVC and have now manage to show all the editors for my register form as I like.
The problem is that I have a radiogroup containing 4 radiobotton, When selecting a radiobutton I neet to hide some of the editors that are bound to the strong typed propertie fields.
I could create a javascript funct...
<head>
<script language="javascript" type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
<script language="javascript" type="text/javascript">
$(function() {
$("#MoveRight,#MoveLeft").click(function(event) {
var id = $(event.target).attr("id");
var selectFrom = id...
Hai
I have a select input field in multiple properties. I have to validate( empty check) this field in both JavaScript and php .My code is like "select multiple="multiple" name="frm_supply[]>"
Does any one help me?
...
Hi,
I am having two forms for example login and register.
In login page i am having two fields namely username and password.
In register page i am having fields namely firstname, lastname, username, dob, and password.
Here we can able to validate the above forms using two different javascript methods.
My question is :
Is that possi...
I don't have much knowledge on mathml editors, we are already using rich:editor to edit html text. I would like to know the most commonly used mathematical equations editor which is browsed based and works across all the major browsers. I have looked at the editors listed here, but unable to make a decision on what to use along with our ...
I have got a return from a server which is a block of html, which I unfortunately cannot influence. At the moment it is being dumped into my html via AJAX.
The problem is that internet explorer doesnt recognize any elements that come through in this block of html
eg I cannot:
document.getElementById(someValueId)
because internet exp...
Hello,
I am in a situation where I am having HTML markup with some text outside of it (leading or trailing). What regex should I be using? For example:
some text over here
<Html>
<Title>website</Title>
<Body>
text text text
<Div>xxxxx</Div>
</Body>
</Html>
ending text
So, I should be getting "some text over here" and "ending text" onl...
Hi guys,
I have made complex a page, with tables and phps, in Dreamweaver. The page looks fine in browser, but the tables look messed up when in Dreamweaver.
In code view, it marks this tags as invalid/
<?php
if ( !$_COOKIE['user'] ) { die( '<meta http-equiv="refresh" content="3;URL=index.php">Please your enable cookies.' ); }
$databa...
Hi there,
My ajax (jquery) response (html) gives me a whole junk of html source code since it fetches the enrite page.
The response is somewhat like below:
<htmlhead/headbodydiv id="content"/div/body/htmldiv id='content'></div>? if yes, how?
2) if #1 is not possible, how could I extract just the content from the <div id='content...
Hi,
I got a weird bug.
In my .css file I have the following rule:
.conf-view a
{
padding-left: 10px;
background-image: url("images/bullet-green.gif");
background-position: center left;
background-repeat: no-repeat;
}
The problem is that IE somehow interprets it like this:
.conf-view A /* NOTE - this is copied from th...
Hi All,
I m styling a submit button in css for all browser its work fine in all browser except ie7
When i click on submit button it moves to the top a little, it makes it look out of shape.
i used a specific css for ie,
Code which i used :
.button
{
width : 80px;
background : none;
cursor : pointer;
font-family : '...
Im trying to put margins on the bottom of a table to separate it from the content below it (another table). I tried creating a class:
.seg_table {
margin-bottom: 25px;
}
And then applied it to the table like this:
<table class="seg_table">
<tr>
<td>Some Content Here</td>
</tr>
</table>
Im new to working with tables so I assume I a...