I have just install TinyMCE editor for my website. But the default background is black and text colour is gray. Anybody can tell me how to change background to white and text colour to black. Thanks you verry much.
...
<input type="button" name="continue" id="continue" value="Continue" onclick="<?
if($_POST['rules']==null) {
echo "hello();";
}
elseif($_POST['rules']!=null) {
echo "myRedirect();";
}
?>" >
i have a form with a textarea. when the user hits the button when the textarea is null it should d...
Hi,
I'm generating a set of rows of html input text fields, which I want my endusers to be able to reorder. I dont want to use AJAX, but am okay with javascript.
I'm okay with some arrow buttons placed on the side of each row, which when pressed move the fields up and down.
My issue with AJAX is that its too heavy (50-60kb) for just t...
Hi Guys,
Is there a good advisory / best practice manual etc. out there which outlines methods to make a page layout fluid in the following two ways:
a) The layout should be robust under window resize
b) The layout should seamlessly handle font resizes committed by the user
Every time I design a page layout I end up using different, ...
I've been looking for a solution to use Javascript to open or activate Firebug.
You see by default, Firebug is deactivated/closed at the corner of the status bar.
You need to click the icon to activate Firebug (the icon becomes coloured).
Is there a way to activate Firebug via Javascript in the javascript code?
see following:
// ch...
I am trying to submit a form thru javascript on the fly (using jquery-form)
Is it possible to create 'FORM' update bunch of values in that 'FORM' using javascript without having HTML-form ?
...
I have an asp.net-mvc site and I use the below javascript library for a photos page to put borders around all of my photos
http://www.netzgesta.de/instant/
i just changed my site to load my photos via ajax instead of reloading the whole page and although when i debug it the correct html is built up, i dont see any of the images:
<div...
will a java script javascript work without jsp?
...
I am using jquery in my php web page. I want to find the location of a textbox or button in a page. Please give me a sample jquery to find this. Please provide with any suggestions u have. Thanks in advance.
...
Hi everyone,
I try loading content into a div with this tutorial. Unfortunately, this simply loads the HTML file as a new page.
This is the javascript that should do the job
window.addEvent('domready', function() {
$('runAjax').addEvent('click', function(event) {
event.stop();
var req = new Request({
...
how can i call dojo.query with button on my page.
so that i save data in mysql using php
i need to run following code on button click
dojo.query("img",dojo.byId("div1")).forEach( function() {
// this is now the image
dojo.xhrGet( { url: '/somepage.php',
data: { image_name: this.title } // ???: depends on w...
how can i print a text in a specific position in a page? when i use document.write() the text prints in a new page.
...
Hi everyone,
I'm looking for a simple Flex or JavaScript based image editing component which can be embedded in a web application. It shouldn't be a web service but rather a component that I can download and customize (i18n etc.).
I only need some basic features: most important is cropping, optional features would be rotating and adjus...
now i developed a web-form for a blog then
first question then how to send email by using jquery or javascript
...
can i use javascript to save an item to a database using sql script?
...
I'm working on fixing up a legacy web application with jQuery.
I have a form that has 40 buttons that each have some type of confirmation that use javascript confirm. I want to switch these over to use the jquery modal dialog.
I have programmed several of them like below and they work fine. Problem is that there is 40 of them on th...
Does a framework allow you to abstract generic code - but not in a complete way (Ex: Abstract a network connection - but not what you actually do with the data), and does not solve any particular common requirement whereas a toolkit has solutions to generic problems(Ex: Dialog box widget)?
Real world Example: Prototype is a "framework",...
Is it possible to get the current value of the onClick attribute of an A tag via jQuery?
For example, I have:
<a href="http://www.google.com" id="google" onclick="alert('hello')">Click</a>
I want to get the onclick code so I can store it for later use (as I'll be changing the onclick event for a little while).
Is it possible to do s...
I have a javascript function that would not run and threw an error. It took about an hour to realize that my form had the same name as the function. It seemed odd that a form name would be in conflict with a function name, but I change the name anyway and everything worked fine. Does anyone know why this would even happen?
If you run th...
I get this date in javascript from an rss-feed (atom):
2009-09-02T07:35:00+00:00
If I try Date.parse on it, I get NaN.
How can I parse this into a date, so that I can do date-stuff to it?
...