Hi!
I have a usercontrol that can be used in for example a gridview itemtemplate, this means that the control might or might not be on the page at page load. In the case where the control is inside an itemtemplate i will popupate the gridview via asynchronous postbacks (via updatepanels).
The control itselfs registrers scriptblocks sin...
i want to get the point when the textbox start hiding the character to the left side
hw is it posible in javascript
...
the function is in the page loading the ajax but i'm trying to call the function
codes:
[ajax]
$.ajax({
type: "POST",
url: "loginpersonal.asp",
data: "id=<%=request("id")%>",
beforeSend: function() {
$("#personaltab").hide();
},
success: function(msg){
$("#personaltab").empty().append(msg);
},
com...
Hello stackers!
I've created a page that uses the CKEditor javascript rich edit control.
It's a pretty neat control, especially seeing as it's free, but I'm having serious issues with the way it allows you to add templates.
To add a template you need to modify the templates js file in the CKEditor templates folder. The documentation ...
http://pastebin.com/KejQT7XQ
i am trying to bind current url of my page to this html
how can i do that
...
I am trying to create and array of objects so that I can access them in a for loop in jQuery and I know that this works in Actionscript so what I am trying to do is convert my current knowledge to jQuery that will work.
Please have a look at this and tell me why I cannot access divToShow
Thanks guys
var homeImages = new Array();
homeI...
I need to be able to drag and drop boxes of differing dimensions on the same grid.
JQuery UI seems to offer 80% of what I'm after particularly the sortable grid the have on their demo page. The only problem is that this grid only works with boxes of identical dimensions.
My requirement is to be able to have the same functionality but ...
Hello jQuery heros! :-)
I've found Nivo Slider to be the best solution for my site. However, I want it to make DIVs to slides, and not IMGs like it does by default. I've tried to change all IMG to DIV in the JS-file, but ofcourse without any luck...
Can anyone help me??
/*
* jQuery Nivo Slider v2.0
* http://nivo.dev7studios.com
*
...
Hello,
I'm experiencing something really strange with my javascript in chrome with Date().format.
If I use the console and type:
d = new Date(Date.parse("2010-05-28"))
d.format("yyyy-MM-dd");
""
d._toFormattedString();
"Fri May 28 2010 00:00:00 GMT+0200 (W. Europe Daylight Time)"
Anyone got any clue why I get an empty string? And...
Male <input value="V1" checked="checked" name="R1" type="radio">
Female: <input name="R1" value="V2" type="radio"></p>
<input name="C1" value="ON" type="checkbox">Reading
<input name="C2" value="ON" type="checkbox">Dressing
<input name="C3" value="ON" type="checkbox">Make up
<input name="C4" value="ON" type="checkbox">Playing
Just...
I can access a PHP var with Javascript like this:
<?php
$fruit = "apple";
$color = "red";
?>
<script type="text/javascript">
alert("fruit: " + "<?php echo $fruit; ?>"); // or shortcut "<?= $fruit ?>"
</script>
But what if I want to use an external JS file:
<script type="text/javascript" src="externaljs.js"></script>
ex...
There are many IDEs to create database schema pictorially. I was wondering as to how I can do it online? Are there open source codes/libraries/applications which already do this?
Basically, what i am looking at is : let the user define a table and the columns - which in common man's term is : define relations etc pictorially.
The pictu...
I have made the following javascript to be used in my jQuery based website. What it does, is to move a slider up/down, and scale the item above higher/smaller.
Everything works fine, but since the slider is only a few pixels in height, and the move event is a bit slow (it does not trigger for every pixel) so when I move the mouse fast, ...
In need to change a part of this href:
<a href="media/xxxxx-yyy.jpg">large pic</a>
I have some designs, and some colors, xxxxx stands for designnumber and yyy for colornumber, when one of the designs is clicked or one of the colors the href should
change according to the value:
<a href="#">design1</a>
<a href="#">design2</a>
<a href=...
I have an array of checkboxes in a complex dynamic-html form. Whenever a user clicks one checkbox, a fairly expensive query is generated and submitted to a remote server.
I want to delay this submit action depending on the users next action. If the user clicks several checkboxes quickly, all of the first clicks should be discarded, only ...
So I have this php script that output an html table with data about some files (like filename, filesize, etc...)
I have this javascript function that displays the picture when you hover a tag belonging to the class "preview". For example, if a filename is: somePic.jpg, when you hover somePic.jpg in the table, the picture will appear nex...
I want pass a parameter of javascript functiona which is a string. This javascript function is a hintbox on mousehover..
and the string i am using is like this:
Hemmed Finish: Every side/edge (1/2"
to 2") of the banner are folded and
glued (special vinyl solution) or heat
pressed. This is the most common and
best finish opt...
the function is in the page loading the ajax but i'm trying to call the function
codes:
[ajax]
$.ajax({
type: "POST",
url: "loginpersonal.asp",
data: "id=<%=request("id")%>",
beforeSend: function() {
$("#personaltab").hide();
},
success: function(msg){
$("#personaltab").empty().append(msg);
},
com...
For some testing purpose I want to traverse the DOM and want to find if that particular element is bound to some JS. I am using jQuery. I tried with $('selector').data() but with no avail. Can anyone please help me?
...
Hey,
i have this code. It returns all the td code including the td /td tags. I want it to only return the content/html of the td
<td>Hey</td>
should give me just
Hey
jQuery("#ReportTable", html).each(function (index, tr) {
arr[index] = jQuery("tbody tr", tr).map(function (index, td) {
return jQuery(td).html();
...