I need expert advice here...
I have run into the strangest problem in my career...
I have a form with alot of "SELECT" tags. Each tag contains a large amount of "OPTION" tags.
The form wont submit at all, but when I remove parts of the form content (for example, some SELECT tags), then the form will submit properly.
However, there is...
the tree file is on the left , and the content div is on the right , how to show
some data on the right div ,
this is my code :
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" cont...
Is it possible to attach html tag to others using Javascript?
<li> to other <li> ?
For instance, I'm creating dropdown menu.
I have div separate from the <ul> tag
<ul>
<li>menu1</li>
<li>menu2</li>
</ul>
<div id="submenu1">
<li>sub1</li>
<li>sub2</li>
</div>
When I click, say, a link, then I want sub menu to show up u...
Hello everyone!
I'm using jquery to create a tab-based featured content area on my website - http://www.gregmalkin.co.uk - but am having trouble getting the first tab to be 'active' on load, and then the active state to change to the selected tab when it auto changes.
When I click on a tab it becomes active, but I want them to be set ...
I am using the source editor for the Quote of the Day in SharePoint: <span style="text-decoration:underline;">F</span> This provides me with a daily quote from BrainyQuote.com. However, I want to underline "Quote of the Day" by using Font or Span tags around the bolded text above. How do I do that? Basically, Sharepoint has a layout for ...
I have an application that needs to check whether the client browser has third-party-cookies enabled. Does anyone know how to do this in Javascript?
...
I'm using this snippet to append an overlay to a whole site:
$(function() {
var docHeight = $(document).height();
$("body").append("<div id='overlay'></div>");
$("#overlay")
.height(docHeight)
.css({
'opacity' : 0.4,
'position': 'absolute',
'top': 0,
'left': 0,
'backgr...
Hi guys,
I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache.
How can I force client's web explorer to reload/refresh the swf file?
Thanks
...
Hi All,
I have a ton of associated data revolving around a school, students, teachers, classes, locations, etc etc
I am faced with a challenge put fourth by my client; they want to have reports on everything. This means they want the ability to cross reference data points every which way and i think i'm just short of writing a pretty...
Hello everybody!
I already spent some time developing small projects with the GWT and I recently discovered Script#.
Now I am curious about how mature this toolkit is.
I am especially interested in the opinion of someone who tried both GWT and Sharp# and therefore is able to compare the two.
How mature is Script#?
Is it true that it is...
I have a form which submits fine in FF, Opera, Safari, Chrome, and also IE8...
But it wont submit in IE6, or IE7...
I have noticed it is 99% sure that the problem is a too long querystring.
I have many many options...
Now, changing the method to POST is out of the question here, so don't bother asking about this please...
I wonder, is...
I've found some online interactive Javascript editors, but I wonder if there is a local equivalent as a gem that lets me test Javascript just like IRB and Rails console in Mac?
...
So let's say you display a list of divs that each represent a list item with certain properties (for an example a todo list):
<div class="list">
<div class="items" id="item1">
<div class="itemtitle">Some title</div>
<div class="icon"><img src="1.jpg"></div>
<div class="footer1" />
</div>
.
.
....
I am working with jcrop and codeigniter to allow users to crop images that they upload, I want to the image t crop to a size of 90x60 but what ever I try nothing seems to work, my current code looks like this,
CONTROLLER
function save_crop() {
$this->load->library('image_lib');
$config['image_library'] = 'gd2';
...
Everyone keeps saying flash is dead, silverlight is dead, and the future is HTML 5. Most technical people I've talked to seem feel that this is a generally accepted fact. Just a matter of when the spec will be finalized, and when each major browser will finally incorporate all the individual features. But it seems to me there's a big ele...
I'm redoing the tooltips on a commercial site and am looking for a good tooltip library to use. Some of the pages use prototype already for other functions, so I need to find something based on prototype that can do the following.
Dynamic positioning, meaning if the tooltip would fall outside of the window then it is moved to a better...
When I switch this:
<div class="zoom">
<a href="javascript:zoomImage();" class="btn-zoom">view larger image</a>
</div>
to this:
<div class="zoom">
<a href="/zoomimg.jpg" onclick="zoomImage()" class="btn-zoom">view larger image</a>
</div>
I get an error that the zoomImage() function couldn't be found.
Here's an example page: http:/...
my post looks like this:
$.post('/ajaxvalidate/1', {"nid": nid}, function(data) {
I get the Uncaught SyntaxError: Unexpected token : error in google chrome.
I understand that I need to set a content type or something, from this question:
http://stackoverflow.com/questions/3143698/uncaught-syntaxerror-unexpected-token
I don't underst...
I'm trying to build a handy dsl-ish query ability into my javascript.
given:
var query = "lastName = 'smith' and firstName = 'jack' or city = 'vancouver'";
what's the most elegant way of parsing this sql-esque string into usable objects such as:
[
{
field:'lastName',
operator:'=',
value:'smith',
join:'and'
},
{
field:'firstName...
Hi,
I'm loading JQuery into my T3 page by :
page.headerData.10.value = <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
and I'm including my javascript like this :
page.includeJS {
file20 = fileadmin/templates/myjq.js
}
Point is, i need the JQuery to be l...