Hi,
I'm trying to get the JQuery jqModal extension to work as a confirm box, as per the example given on the jqModal website ( http://dev.iceburg.net/jquery/jqModal/ ), and incoprate this function into a dotnet usercontrol so I can re-use it over the website.
This is the code I've written so far. The control has a TriggerID property wh...
Hi SO!
Is there any way to make an iframe's vertical scrollbar shorter than the iframe itself? For instance have a 500px high iframe with a 450px high scrollbar (but the scrollbar would still fully pan the iframe's content).
(with Javascript, jQuery, or CSS)
Thanks in advance!
...
Can anyone help... how to convert Image to Vectors (SVG) through Javascript.......! Any help will be awesome....!
...
hello
i have followed this tutorial wich uses jquery UI to generate tokens facebook like:
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-use-the-jquery-ui-autocomplete-widget/
my problem is i need to pass two values thru Json: the ID and the NAME:
the server side script looks like this:
header('Content-Type: text/html; charse...
hi, i want to understand this piece of code as i m a beginner.Mostly these red color fonts. they are taking which page value?
$(function() {
$("#title").blur(function() { QuestionSuggestions(); });
});
function QuestionSuggestions() {
var s = $("#title").val();
if (s.length > 2 && !($("#title").hasClass(...
I'm aware there are other questions similar but I just cannot get this to work.
Id like to close the colorbox iframe on the click of a .NET Button form within the iframe.
<script type="text/javascript">
$(document).ready(function() {
$(".del-add").colorbox({ width: "800px", height: "660px", iframe: true, open: true });
});
</script...
I have the following code, which is supposed to set the main_table_on_page variable according to the actual table presence in the document...
$('table#main_middle_table').livequery(function() {
if ($("table#main_middle_table").attr("id")) {
window.main_table_on_page = true;
} else {
window.main_table_on_page = fa...
Could someone take a moment to look at my script and see where I have gone wrong. This works fine in all modern browsers. Its IE6/7 which have the problem.
A 9KB color picker loaded.
Once loaded the picker is run.
picker.run();
This makes the picker and saves it as an object variable.
This variable can then be shown using.
picker....
Hi,
If you display an image within a div in FireFox, it can be dragged about very fast. Doing the same thing is slow in IE 8 and very slow in IE 7. Is there a way to improve this by tweaking some settings or changing DOC type signatures?
Thank you
...
Hi,
I have 2 select inputs and I filling them with an array of years. After that I want to set currentYear the selected value for every Select. I hacve this code but only works with first Select I don't understand why.
EDIT 2
Everything works great with jQuery 1.4.3, 1.4.2 fails :_(
EDIT
I'm trying this without success :-( only fisr...
Consider following DOM fragment:
<div id="div-1">foo</div>
<div id="div-2">bar</div>
Is it possible to insert HTML string (EDIT: that contains tags to render) between divs without wrapping it in another div (EDIT: or some other tag) created via document.createElement and setting its innerHTML property?
...
I am doing asp.net project using C#.I want to display the contents that are being typed in HtmlEditor control onto a A4 size as preview and i also want to save this content to a file(.doc or .txt).
How do i do it??
Please help
...
Hello Guys, I developed an application in ASP.NET MVC. This app has an action that returns a JsonResult and I get it with jquery in client side. Everything works fine but I'd like to know, if is there any way to make a security in this action to return only requests that came from my website.
Is there any way to avoid others websites t...
Why this code is error
var images = ['/test/img/Gallery/large/4cba0c8a-4acc-4f4a-9d71-0a444afdf48d.jpg','/test/img/Gallery/large/4cba0ca8-2158-41af-829a-0a444afdf48d.jpg','/test/img/Gallery/large/4cbc549a-5228-433f-b0bc-0a444afdf48d.jpg'];
$('.triggerNext').click(function(){
nextImage();
...
In the following link
http://code.google.com/apis/gdata/docs/json.html#Request
its given how to get the response results for json-in-script. But how to do I append the result if i want to call
http://gdata.youtube.com/feeds/api/videos?q=userSearchTerm&start-index=1&max-results=50&alt=json-in-script&callback=myFunction
m...
Hi ,
How to add translations in .js file
I am having a line like
$(display_charsleft_id).innerHTML = var1 + " characters left!";
I amtrying to add translations by
(display_charsleft_id).innerHTML = var1 + <%=t :str_chars_left%>;
but this shows only the translation value and not appending the value of var1
str_chars_left: "characte...
Hello all,
I have been asked to create a PDF form that will be sent to a user, they fill it out and then they click a button on the PDF that emails it to a specified email address. I know this can easily be done in Adobe LiveCycle but we currently dont have that and I am trying to avoid using anything other than Acrobat and Reader.
I am...
Im working on a drupal site that uses jQtouch (for iphone), and im trying to make a search that doesnt reload the site. I think the javascript/ajax part isnt working. Im having problems finding out if the data from the php file is actually comming through, at the moment only the js that empties the search-results is working. Apperently j...
So far I was using twitterjs, but it doesn't show retweets from my timeline. So I'm just looking for an alternative able to show retweets.
Thanks
...
Hello, this question is for the JS experts out there.
I use this next piece of code to get all the JavaScript function names which exist under the dom root.
for(var x in window){
val = ""+window[x];
if(startsWith(val,"function")){ //only functions
alert(val)
}
}
While this code works perfectl...