html

Is there any web layout paradigm that makes CSS a little bit less... unpredictable?

What motivates me to write this question is that I'm really into making good appearing web-sites but I definetly do not feel confortable with CSS. My feeling is that it's all about trial-and-error. I need to try to do something and test, test and then test it over again in all browsers and after all I still have a feeling that the resul...

"Object Expected" error while capturing the page load event.

The following code inside the tags gives error: "Object Expected". <!-- JQuery/AJAX--> <script type="text/javascript"> try { $(document).ready(function(){ $("p").load(function(){ MakeRequest('divElectionCategory','ulElectionCategory','SELECT * FROM electioncategorymaster',...

Jquery-UI tabs not working

So i'm trying to make tabs with the JQuery UI framework, but I can't get them to work. It just shows up as a bulleted list, and then with the divs all under each other. I read on another post that you needed some sort of css/theming which i didn't have before, so i downloaded one with a custom theme. i unzipped it in my media folder and ...

Dynamically populating an UnOrdered List

I am attempting following code to populate an UnOrdered List dynamically. The same type of code I am successfully using to populate a DropDown. But when I changed the tags to UnOrdered List, it is not working. When run, it just displays some tags instead of the actual output. Where is the error: <?php require("dbconnection.php"); ...

When to use JavaScript template engines?

Here is an example of JavaScript template from Ben Nadel's demo single page long-lived AJAX application taken from: [source] <script id="contact-list-item-template" type="application/template"> <li class="contact clear-fix"> <div class="summary"> <a class="name">${name}</a> </div> ...

Flash z-index in iframe

so this is a problem: when I'm using flash on website, and creating some dialog box which should be over all other elements I use just proper z-index for dialog box (in IE6 it's needed to set transparent wmode for flash). But flash programmer don't want to give me flash file and suggested to use iframe linking to his website. on my web...

View real HTML source in browser

Hello. I lookong for some IE or Firefox extension, which allows to browse html source, corresponding to data, shown in browser window right now. I have large web application with alot of code, generated by JavaScript. I need to extract real HTML code, which I see in browser window right now (View source function shows only code loaded f...

How to locate Jquery issues affecting internet explorer

Hi, I've just started trying to learn javascript and jQuery so excuse my simpleness, please!... I've created a webpage which works perfectly well in most browsers apart from Internet Explorer... The page loads and displays perfectly well, but seems a little unresponsive compared to Firefox, for example. The page is rather large as ...

send HTML Code in Textarea to PHP via Form

Hi, i want to have a textarea where I can edit html code directly. After submitting the form the content if the textarea (with html tags) should be saved to a MySQL database. I use PHP to receive the date and save it to the database. My problem is, that the HTML code is not properly sent to PHP. I do not receive the HTML code but just th...

Safely 'print' raw html code in a textarea to use with CKeditor?

Which character do I need to replace to safely 'print' raw HTML code from a database in a textarea, so I can edit this with CKeditor? Or is there another existing preferred method of getting data into a CKeditor textarea? (e.g. AJAX) ...

Simple way to select chosen option in <select> from the value given by $_POST?

How can i add the selected="selected" bit to the option in an HTML <select> input from the sent $_POST data without an if statement within each option? ...

Make div appear with jQuery

Hello, I have a div that is hidden and being declared this way: <div id="divLogin" style="visibility:hidden;"> My idea is to use jquery to make it slide in so I created this code: $("btEnviarAcesso").click(function () { $("divLogin").slideToggle("slow"); }); but it is not working... Does someone have any ideia why?? ...

Is it necessary to add cellspacing="0" cellpadding="0" in <table>?

Eric meyer reset css is suggesting "tables still need 'cellspacing="0"' in the markup". Is it necessary? and what is the benefit of border-collapse: collapse; and border-spacing: 0;? and it's only suggesting to use cellspacing, while table has another property called cellpadding? /* tables still need 'cellspacing="0"' in the markup */...

How can I decode HTML entities in C++?

How can I decode HTML entities in C++? For example: HTML: &quot;Music&quot; &amp; &quot;video&quot; Decoded: "Music" & "video" Thanks. ...

Export From HTML To MS Word

How I can save HTML as Microsoft Word Document in ASP.NET with VB.NET? Do I need a special library to perform the conversion? ...

whats the easiest way to exchange row HTML in table via jquery (not drag and drop)

what's the easiest way in jquery to take the entire html for a (including the tr itself, not tr innerhtml) and swap it with another one? i'm kinda messing around with replaceWith, but that's swapping the innerHtml and i want to swap the whole TR html. seems like it should be an easy task for jquery. i'm thinking there's gotta be a wa...

Jquery - Dynamically generate string within HTML code?

Hello, I have searched various sites and haven't found anything I can extrapolate a successful answer from. Either that or my spectacle wearing is justified and I have forum fatigue. Here is my issue: I need a dynamic string within a line of HTML: <a href="#" onClick="$.scrollTo('#xxxjump', 800, {easing:'elasout'}); javascript:animate...

Reset INPUT without FORM

I have INPUT element and I want to reset the previous value (not necessary original value). There are 2 ways: Save the value in another variable and pull it out again Press ESC key. But I don't want users to press ESC but click a button. So for #2, how can I create a ESC keystroke using jquery? ...

How to setup an online shop using HTML or ASP.net

Hi All, I don't know if this is the correct place to ask this question but i desperately need help in creating an Online Shop (buying products, handling transactions, etc) - Could anyone please suggest me the best method availble either in HTML or ASP.Net because i don't know PHP. Your help is much appreciated! Many Thanks! ...

3 iFrames, 3 Links - Show 1 iFrame using onclick, while hiding the others

I have 3 button-images in one page, such that when you press 1, it should show the iFrame related to it, and hide the others. I just started learning about webdev, and I've browsed online, but i can't seem to make it work. :o Here's my code: <div id="tabs"> <div id="overview"> <a href="#wrapper">Overviews</a> </div> <div id="ga...